Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
表示
レイアウト
分割
統合
ライブエディター
空白の変更を非表示
未変更行を折りたたむ
折り返しなし
比較精度
スマート
構文
なし
外観を変更
処理
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled diff
作成日
10 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
0 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
30 行
すべてコピー
3 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
33 行
すべてコピー
import { CliConfig } from './config';
import { CliConfig } from './config';
const path = require('path')
const path = require('path')
export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) {
export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) {
return {
return {
debug: true,
debug: true,
devtool: 'cheap-module-source-map',
devtool: 'cheap-module-source-map',
output: {
output: {
path: path.resolve(projectRoot, './dist'),
path: path.resolve(projectRoot, './dist'),
filename: '[name].bundle.js',
filename: '[name].bundle.js',
sourceMapFilename: '[name].map',
sourceMapFilename: '[name].map',
chunkFilename: '[id].chunk.js'
chunkFilename: '[id].chunk.js'
},
},
tslint: {
tslint: {
emitErrors: false,
emitErrors: false,
failOnHint: false,
failOnHint: false,
resourcePath: path.resolve(projectRoot, `./${sourceDir}`)
resourcePath: path.resolve(projectRoot, `./${sourceDir}`)
},
},
コピー
コピー済み
コピー
コピー済み
sassLoader: {
includePaths: [path.resolve("node_modules/bootstrap-sass/assets/stylesheets")]
},
node: {
node: {
fs: 'empty',
fs: 'empty',
global: 'window',
global: 'window',
crypto: 'empty',
crypto: 'empty',
process: true,
process: true,
module: false,
module: false,
clearImmediate: false,
clearImmediate: false,
setImmediate: false
setImmediate: false
}
}
};
};
}
}
保存された差分
原文
ファイルを開く
import { CliConfig } from './config'; const path = require('path') export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) { return { debug: true, devtool: 'cheap-module-source-map', output: { path: path.resolve(projectRoot, './dist'), filename: '[name].bundle.js', sourceMapFilename: '[name].map', chunkFilename: '[id].chunk.js' }, tslint: { emitErrors: false, failOnHint: false, resourcePath: path.resolve(projectRoot, `./${sourceDir}`) }, node: { fs: 'empty', global: 'window', crypto: 'empty', process: true, module: false, clearImmediate: false, setImmediate: false } }; }
変更されたテキスト
ファイルを開く
import { CliConfig } from './config'; const path = require('path') export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) { return { debug: true, devtool: 'cheap-module-source-map', output: { path: path.resolve(projectRoot, './dist'), filename: '[name].bundle.js', sourceMapFilename: '[name].map', chunkFilename: '[id].chunk.js' }, tslint: { emitErrors: false, failOnHint: false, resourcePath: path.resolve(projectRoot, `./${sourceDir}`) }, sassLoader: { includePaths: [path.resolve("node_modules/bootstrap-sass/assets/stylesheets")] }, node: { fs: 'empty', global: 'window', crypto: 'empty', process: true, module: false, clearImmediate: false, setImmediate: false } }; }
違いを見つける