Skip to content

Instantly share code, notes, and snippets.

@clovisdasilvaneto
Created June 9, 2017 16:47
Show Gist options
  • Save clovisdasilvaneto/e3a652d8183f74ae6a34f5c7dd252895 to your computer and use it in GitHub Desktop.
Save clovisdasilvaneto/e3a652d8183f74ae6a34f5c7dd252895 to your computer and use it in GitHub Desktop.
module.exports = {
entry: [path+'carrosel.js', path+'navigation.js', path+'authentication.js', path+'search.js', path+'theme.js',
path+'scroll-navigate.js', portletsPath+'my-systems.js'],
output: {
path: './src/js/libs',
filename: 'bundle.js'
},
devServer: {
inline: true,
contentBase: './src',
port: 4000
},
module: {
loaders: [{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel',
query: {
presets: ['es2015']
}
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment