fisrt commit'

This commit is contained in:
2018-05-24 18:51:55 +02:00
commit 906f96a15e
3463 changed files with 425820 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
var webpack = require('webpack'),
path = require('path'),
exec = require('child_process').execSync,
pwd = exec('pwd').toString();
module.exports = {
entry: {
app: './app/main.js'
},
externals: {
jquery: 'jQuery',
'grav-form': 'GravForm'
},
module: {
preLoaders: [
{ test: /\.json$/, loader: 'json' },
{ test: /\.js$/, loader: 'eslint', exclude: /node_modules/ }
],
loaders: [
{ test: /\.js$/, loader: 'babel', exclude: /node_modules/, query: { presets: ['es2015'] } }
]
}
};