Commit 426c4051 authored by Elias Nahum's avatar Elias Nahum

Move src to webapp

parent c3816257
...@@ -38,7 +38,7 @@ stop: ...@@ -38,7 +38,7 @@ stop:
clean: clean:
@echo Cleaning Webapp @echo Cleaning Webapp
@rm -rf dist @rm -rf webapp/dist
@rm -f .npminstall @rm -f .npminstall
nuke: nuke:
......
...@@ -17,9 +17,9 @@ if (NPM_TARGET === 'run' || NPM_TARGET === 'run-fullmap') { ...@@ -17,9 +17,9 @@ if (NPM_TARGET === 'run' || NPM_TARGET === 'run-fullmap') {
} }
var config = { var config = {
entry: ['babel-polyfill', './src/index.jsx', 'src/index.html'], entry: ['babel-polyfill', './webapp/index.jsx', 'webapp/index.html'],
output: { output: {
path: 'dist', path: 'webapp/dist',
publicPath: '/', publicPath: '/',
filename: 'bundle.js' filename: 'bundle.js'
}, },
...@@ -73,7 +73,7 @@ var config = { ...@@ -73,7 +73,7 @@ var config = {
}, },
plugins: [ plugins: [
new CopyWebpackPlugin([ new CopyWebpackPlugin([
{from: 'src/config', to: 'config'} {from: 'webapp/config', to: 'config'}
]), ]),
new webpack.ProvidePlugin({ new webpack.ProvidePlugin({
'window.jQuery': 'jquery' 'window.jQuery': 'jquery'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment