module.exports = {
entry: './src/web_root/scripts/sams-profile/app.js',
output: {
path: './dist',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.css$/, loader: "style-loader!css-loader" }
],
},
resolve: {
modulesDirectories: ['node_modules']
}
};
// app.js
require('./css/base.css');
// css/base.css
@import "~semantic-ui/dist/semantic-ui.css";