Fix examples for new build process
MODIFY
.travis.yml
.travis.yml
@@ -97,8 +97,8 @@ deploy:
file:
- dist/built/geo.js
- dist/built/geo.min.js
- - dist/built/geo.ext.js
- - dist/built/geo.ext.min.js
+ - dist/built/geo.lean.js
+ - dist/built/geo.lean.min.js
skip-cleanup: true
on:
tags: true

MODIFY
webpack-examples.config.js
webpack-examples.config.js
@@ -3,7 +3,6 @@ const StringReplacePlugin = require('string-replace-webpack-plugin');
var path = require('path');
var base = require('./webpack.config');
-var external = require('./external.config');
var rules = base.module.rules.concat([{
test: /\.pug$/,
@@ -39,8 +38,6 @@ var rules = base.module.rules.concat([{
})]
}]);
-rules = rules.concat(external.module.rules);
-
var plugins = base.plugins;
plugins.push(new StringReplacePlugin());

MODIFY
webpack-lean.config.js
webpack-lean.config.js
// The lean build does not include any of the third-party runtime dependencies, rather
-// it assume they are in the global namespace at runtime.
+// it assumes they are in the global namespace at runtime.
var config = require('./webpack.base.config');
var merge = require('webpack-merge');

Fix examples for new build process