Skip to content

Commit

Permalink
KYLO-3159 Move webpack chunk files under the js folder
Browse files Browse the repository at this point in the history
  • Loading branch information
uralovs committed Dec 10, 2018
1 parent 8d2dbaa commit df7c7ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/ui-app/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ const webpackConfig = (env) => {
app: mainTsFile,
},
output: {
filename: '[name].bundle.js',
chunkFilename: '[id].chunk.js',
filename: 'js/[name].bundle.js',
chunkFilename: 'js/[id].chunk.js',
path: outputDir
},
module: {
Expand Down Expand Up @@ -359,7 +359,7 @@ const webpackConfig = (env) => {
new webpack.HotModuleReplacementPlugin(),
new FriendlyErrorsWebpackPlugin(),
new ProgressPlugin(),
// new writeFilePlugin(),
new writeFilePlugin(),
);
if (env && env.dev) { //i.e. we dont' want SourcePlugin if env is other than dev env, e.g. if env is dev-tool-cheap
config.plugins.push(
Expand Down

0 comments on commit df7c7ce

Please sign in to comment.