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.
35 lines
674 B
35 lines
674 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'
|
|
],
|
|
extensions: ['', '.js', '.jsx', '.scss']
|
|
},
|
|
postcss: [autoprefixer]
|
|
}
|