Commit 1ae4d70a authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

output html/css/js distributables to new folder for conda building

parent 4e0bf92e
...@@ -109,3 +109,6 @@ miniconda/ ...@@ -109,3 +109,6 @@ miniconda/
miniconda.cached/ miniconda.cached/
conda/recipe_append.yaml conda/recipe_append.yaml
conda-bld/ conda-bld/
# built JS files
beat/editor/js
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "cross-env NODE_ENV=debug webpack-dev-server --hot", "start": "cross-env NODE_ENV=debug webpack-dev-server --hot",
"prebuild": "rimraf dist", "prebuild": "rimraf ../../beat/editor/js",
"build": "cross-env NODE_ENV=production webpack", "build": "cross-env NODE_ENV=production webpack",
"test-start": "cross-env BABEL_ENV=test NODE_ENV=test karma start --no-single-run", "test-start": "cross-env BABEL_ENV=test NODE_ENV=test karma start --no-single-run",
"test": "cross-env BABEL_ENV=test NODE_ENV=test karma start", "test": "cross-env BABEL_ENV=test NODE_ENV=test karma start",
......
...@@ -5,7 +5,7 @@ const VisualizerPlugin = require('webpack-visualizer-plugin'); ...@@ -5,7 +5,7 @@ const VisualizerPlugin = require('webpack-visualizer-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin') const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const dist = resolve(__dirname, 'dist'); const dist = resolve(__dirname, '../../beat/editor/js');
const isExternal = (module) => module.context && module.context.indexOf('node_modules') === -1; const isExternal = (module) => module.context && module.context.indexOf('node_modules') === -1;
......
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