mirror of
https://github.com/Raghu-Ch/ReactWeather.git
synced 2026-02-10 11:03:02 -05:00
Added foundation and jquery
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user