mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
729 B
36 lines
729 B
var path = require("path")
|
|
var webpack = require('webpack')
|
|
var BundleTracker = require('webpack-bundle-tracker')
|
|
|
|
const autoprefixer = require('autoprefixer');
|
|
|
|
module.exports = {
|
|
context: __dirname,
|
|
|
|
entry: './assets/js/index',
|
|
|
|
output: {
|
|
path: path.resolve('./assets/bundles/'),
|
|
filename: "[name]-[hash].js"
|
|
},
|
|
|
|
plugins: [
|
|
|
|
], // add all common plugins here
|
|
|
|
module: {
|
|
loaders: [
|
|
|
|
]
|
|
},
|
|
|
|
resolve: {
|
|
modulesDirectories: [
|
|
'node_modules',
|
|
'bower_components',
|
|
path.resolve(__dirname, './node_modules')
|
|
],
|
|
extensions: ['', '.js', '.jsx', '.scss']
|
|
},
|
|
postcss: [autoprefixer]
|
|
}
|