Permalink
Browse files

Add Webpack config options needed to run Cesium

  • Loading branch information...
markerikson committed Feb 24, 2017
1 parent c47204c commit 2015273517f4e38f0fb55a1d607f17110a59d95c
Showing with 10 additions and 4 deletions.
  1. +5 −2 config/webpack.config.dev.js
  2. +5 −2 config/webpack.config.prod.js
@@ -59,7 +59,8 @@ module.exports = {
// containing code from all our entry points, and the Webpack runtime.
filename: 'static/js/bundle.js',
// This is the URL that app is served from. We use "/" in development.
publicPath: publicPath
publicPath: publicPath,
sourcePrefix : '',
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
@@ -81,7 +82,9 @@ module.exports = {
},
module: {
// First, run the linter.
unknownContextCritical : false,
// First, run the linter.
// It's important to do this before Babel processes the JS.
preLoaders: [
{
@@ -64,7 +64,8 @@ module.exports = {
filename: 'static/js/[name].[chunkhash:8].js',
chunkFilename: 'static/js/[name].[chunkhash:8].chunk.js',
// We inferred the "public path" (such as / or /my-project) from homepage.
publicPath: publicPath
publicPath: publicPath,
sourcePrefix : '',
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
@@ -86,7 +87,9 @@ module.exports = {
},
module: {
// First, run the linter.
unknownContextCritical : false,
// First, run the linter.
// It's important to do this before Babel processes the JS.
preLoaders: [
{

0 comments on commit 2015273

Please sign in to comment.