Adding build script to package.json

This commit is contained in:
David Jay
2016-11-02 15:45:52 -07:00
parent 8f48f62b02
commit e805573bd4
3 changed files with 6 additions and 5 deletions
+4 -4
View File
@@ -8,7 +8,7 @@ module.exports = {
devtool: 'source-map',
entry: [
'babel-polyfill',
'./src/app'
path.join(__dirname, 'src', 'app')
],
output: {
path: path.join(__dirname, '..', '..','dist', 'coral-embed-stream'),
@@ -23,13 +23,13 @@ module.exports = {
},
plugins: [
new Copy([{
from: './index.html'
from: path.join(__dirname, 'index.html')
},
{
from: './style/default.css'
from: path.join(__dirname, 'style', 'default.css')
},
{
from: './public/',
from: path.join(__dirname, 'public'),
to: './'
},
{