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 5fc4a03 commit 2f95f4d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var path = require('path');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var HtmlWebpackIncludeAssetsPlugin = require('html-webpack-include-assets-plugin');
const CopyPlugin = require('copy-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');

var environment = process.env.NODE_ENV || 'development';

Expand Down Expand Up @@ -111,6 +111,9 @@ module.exports = {
}),
new ExtractTextPlugin({
filename: 'app/assets/main.css'
})
}),
new CopyWebpackPlugin([
{ from: 'app/assets/css', to: 'assets' }
]),
]
};

0 comments on commit 2f95f4d

Please sign in to comment.