This commit is contained in:
Gregory Schier 2016-08-23 12:43:01 -07:00
parent f10532980a
commit 6a7a0b07bc
5 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ if [ -d "$BUILD_DIR" ]; then
fi
echo "-- BUILDING PRODUCTION APP --"
cross-env NODE_ENV=production babel-node ./node_modules/.bin/webpack --config ./webpack/webpack.config.production.js
cross-env NODE_ENV=production --config ./webpack/webpack.config.production.babel.js
echo "-- COPYING REMAINING FILES --"

View File

@ -3,7 +3,7 @@ import webpack from 'webpack';
import webpackDevMiddleware from 'webpack-dev-middleware';
import webpackHotMiddleware from 'webpack-hot-middleware';
import config from './webpack.config.development';
import config from './webpack.config.development.babel';
const app = express();
const compiler = webpack(config);

View File

@ -1,5 +1,5 @@
import webpack from 'webpack';
import baseConfig from './webpack.config.base';
import baseConfig from './webpack.config.base.babel';
export default {
...baseConfig,

View File

@ -1,5 +1,5 @@
import webpack from 'webpack';
import baseConfig from './webpack.config.base';
import baseConfig from './webpack.config.base.babel';
export default {
...baseConfig,