Added foundation and jquery

This commit is contained in:
2017-01-16 00:39:28 -08:00
parent 2582758e08
commit 4586ce2281
4 changed files with 422 additions and 329 deletions

View File

@@ -1,5 +1,20 @@
var webpack = require('webpack');
module.exports = {
entry: './app/app.jsx',
entry: [
'script!jquery/dist/jquery.min.js',
'script!foundation-sites/dist/foundation.min.js',
'./app/app.jsx'
],
externals: {
jquery: 'jQuery'
},
plugins: [
new webpack.ProvidePlugin({
'$': 'jquery',
'jQuery': 'jquery'
})
],
output: {
path: __dirname,
filename: './public/bundle.js'