Skip to content

Commit

Permalink
Try update webpack to fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kquintesens committed Dec 20, 2019
1 parent e31ab87 commit c78456e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,15 @@ module.exports = {
},
plugins: [
new CopyPlugin([
{ from: 'app/assets', to: 'assets' }
])
{ from: 'app/assets/css', to: 'assets' }
]),
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"production"'
}
}),
new ExtractTextPlugin({
filename: 'app/assets/main.css'
})
]
};

0 comments on commit c78456e

Please sign in to comment.