diff --git a/www/config/webpack/environments/development.js b/www/config/webpack/environments/development.js index bf4994a25..d5ea55427 100644 --- a/www/config/webpack/environments/development.js +++ b/www/config/webpack/environments/development.js @@ -1,7 +1,7 @@ 'use strict'; let webpack = require('webpack'); -module.exports = function(_path) { +module.exports = function (_path) { return { context: _path, devtool: 'source-map', @@ -15,4 +15,4 @@ module.exports = function(_path) { }, plugins: [new webpack.HotModuleReplacementPlugin()] }; -}; +}; \ No newline at end of file diff --git a/www/config/webpack/environments/production.js b/www/config/webpack/environments/production.js index dd1dede4e..7a3e41eac 100644 --- a/www/config/webpack/environments/production.js +++ b/www/config/webpack/environments/production.js @@ -2,12 +2,12 @@ let CleanWebpackPlugin = require('clean-webpack-plugin'); let webpack = require('webpack'); -module.exports = function(_path) { +module.exports = function (_path) { return { context: _path, devtool: 'source-map', output: { - publicPath: '/', + publicPath: './', filename: '[name].[chunkhash].js' }, plugins: [ @@ -23,4 +23,4 @@ module.exports = function(_path) { }) ] }; -}; +}; \ No newline at end of file diff --git a/www/src/tpl-index.ejs b/www/src/tpl-index.ejs index fd0e7622e..a5f414533 100755 --- a/www/src/tpl-index.ejs +++ b/www/src/tpl-index.ejs @@ -5,11 +5,11 @@ Cortex - - - - - + + + + + <% for(var i=0; i < htmlWebpackPlugin.files.css; i++) { %>