Version: webpack 3.10.0
Time: 4649ms
3 assets
[18] (webpack)/buildin/global.js 509 bytes {0} [built]
[149] (webpack)-hot-middleware/client.js?noInfo=true&reload=true 7.35 kB {2} [built]
[150] (webpack)/buildin/module.js 517 bytes {2} [built]
[240] multi ./src/main webpack-hot-middleware/client?noInfo=true&reload=true 40 bytes {1} [built]
[241] ./src/main.js 2.48 kB {1} [built] [failed] [1 error]
[247] (webpack)-hot-middleware/client-overlay.js 2.21 kB {2} [built]
[252] (webpack)-hot-middleware/process-update.js 4.33 kB {2} [built]
[253] multi react react-dom react-router babel-polyfill redux react-redux react-ga react-document-meta react-cookie react-tabs axios draft-js webpack-hot-middleware/client?noInfo=true&reload=true 172 bytes {0} [built]
[574] (webpack)/buildin/amd-options.js 82 bytes {0} [built]
+ 624 hidden modules
WARNING in webpack: Using NoErrorsPlugin is deprecated.
Use NoEmitOnErrorsPlugin instead.
ERROR in ./src/main.js
Module build failed: Error: The node API for `babel` has been moved to `babel-core`.
at Object.<anonymous> (B:\OSPanel\domains\domain.dev\frontend\node_modules\babel\index.js:1:69)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at loadLoader (B:\OSPanel\domains\domain.dev\frontend\node_modules\loader-runner\lib\loadLoader.js:13:17)
at iteratePitchingLoaders (B:\OSPanel\domains\domain.dev\frontend\node_modules\loader-runner\lib\LoaderRunner.js:169:2)
at runLoaders (B:\OSPanel\domains\domain.dev\frontend\node_modules\loader-runner\lib\LoaderRunner.js:362:2)
at NormalModule.doBuild (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModule.js:182:3)
at NormalModule.build (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModule.js:275:15)
at Compilation.buildModule (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\Compilation.js:151:10)
at factoryCallback (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\Compilation.js:344:12)
at factory (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModuleFactory.js:241:5)
at applyPluginsAsyncWaterfall (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModuleFactory.js:94:13)
at B:\OSPanel\domains\domain.dev\frontend\node_modules\tapable\lib\Tapable.js:268:11
at NormalModuleFactory.params.normalModuleFactory.plugin (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\CompatibilityPlugin.js:52:5)
at NormalModuleFactory.applyPluginsAsyncWaterfall (B:\OSPanel\domains\domain.dev\frontend\node_modules\tapable\lib\Tapable.js:272:13)
at resolver (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModuleFactory.js:69:10)
at process.nextTick (B:\OSPanel\domains\domain.dev\frontend\node_modules\webpack\lib\NormalModuleFactory.js:194:7)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ multi ./src/main webpack-hot-middleware/client?noInfo=true&reload=true
Child html-webpack-plugin for "index.ejs":
1 asset
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/view/index.html 2.16 kB {0} [built]
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
+ 1 hidden module
module: {
loaders: [
{
test: /\.jsx?$/,
loader: 'babel-loader?presets[]=es2015,presets[]=react,presets[]=stage-0'
},
...
]
}
module: {
rules: [
{
test: /\.js$/,
exclude: /\/node_modules\//,
use: [
{
loader: 'babel-loader',
options: {
presets: ['es2015', 'stage-0', 'react']
}
}]
},
...
]
}