Browse Source

Plugin removed.

pull/297/head
Sebastian 8 years ago
parent
commit
e9b734abbb
  1. 12
      src/Squidex/app-config/webpack.run.prod.js

12
src/Squidex/app-config/webpack.run.prod.js

@ -5,8 +5,6 @@ MiniCssExtractPlugin = require('mini-css-extract-plugin'),
runConfig = require('./webpack.run.base.js'), runConfig = require('./webpack.run.base.js'),
helpers = require('./helpers'); helpers = require('./helpers');
var CircularDependencyPlugin = require('circular-dependency-plugin');
helpers.removeLoaders(runConfig, ['scss', 'ts']); helpers.removeLoaders(runConfig, ['scss', 'ts']);
module.exports = webpackMerge(runConfig, { module.exports = webpackMerge(runConfig, {
@ -97,14 +95,6 @@ module.exports = webpackMerge(runConfig, {
new ngToolsWebpack.AngularCompilerPlugin({ new ngToolsWebpack.AngularCompilerPlugin({
tsConfigPath: './tsconfig.json', tsConfigPath: './tsconfig.json',
entryModule: 'app/app.module#AppModule' entryModule: 'app/app.module#AppModule'
}), })
new CircularDependencyPlugin({
onDetected({ module: webpackModuleRecord, paths, compilation }) {
// `paths` will be an Array of the relative module paths that make up the cycle
// `module` will be the module record generated by webpack that caused the cycle
console.log(paths.join(' -> '))
}
})
] ]
}); });
Loading…
Cancel
Save