Further update configurations for new website;
DELETE
dist/index.html
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="refresh" content="0; url=examples/index.html"/>
- </head>
-</html>

MODIFY
examples/build.js
examples/build.js
@@ -21,7 +21,7 @@ glob('examples/*/example.json')
var main = path.resolve(dir, json.exampleJs[0]);
// the output directory where the example will be compiled
- var output = path.resolve('dist', 'examples', json.path);
+ var output = path.resolve('dist', '_examples', json.path);
// create, empty, and copy the source directory
fs.emptyDirSync(output);

MODIFY
webpack-examples.config.js
webpack-examples.config.js
@@ -48,7 +48,7 @@ module.exports = {
bundle: './examples/index.js'
},
output: {
- path: path.join(__dirname, 'dist', 'examples'),
+ path: path.join(__dirname, 'dist', '_examples'),
publicPath: '/examples',
filename: '[name].js'
},

Further update configurations for new website;