Move web pack 1 example results into a subfolder
This commit is contained in:
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
+1
-1
@@ -1,2 +1,2 @@
|
||||
<head><link href="styles.css" rel="stylesheet"></head>Hello World from backend2016-01-20T15:46:57.631Z<h2>Partial</h2>
|
||||
<head><link href="styles.css" rel="stylesheet"></head>Hello World from backend2016-03-21T08:52:41.516Z<h2>Partial</h2>
|
||||
<img src="0714810ae3fb211173e2964249507195.png"><script src="bundle.js"></script>
|
||||
@@ -1,9 +1,10 @@
|
||||
var HtmlWebpackPlugin = require('../..');
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
var webpackMajorVersion = require('webpack/package.json').version.split('.')[0];
|
||||
module.exports = {
|
||||
entry: './example.js',
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
path: __dirname + '/dist/webpack-' + webpackMajorVersion,
|
||||
publicPath: '',
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user