More updates
Former-commit-id: ec1b6164ad91ca53e9032dac1b4f07bc46bbf092 [formerly 51a9aba6c47da2bec069944c85e9e8ce01a13e72] [formerly b305bc377e8fb452548c73778aba277588995009 [formerly cd1dce5bc80047ddb7905f4208aa1c9c2ab4d6ca]] Former-commit-id: 98f7c2689cc193c0a5fc035943716a4d999180bd [formerly e49d2368e7427b2089916ee965345850f461c0cd] Former-commit-id: 84df75990151d151ba00c9b5e84fe8eeb3573e64
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var chalk = require('chalk')
|
||||
var semver = require('semver')
|
||||
var packageConfig = require('../package.json')
|
||||
var packageConfig = require('../../package.json')
|
||||
var shell = require('shelljs')
|
||||
function exec (cmd) {
|
||||
return require('child_process').execSync(cmd).toString().trim()
|
||||
|
||||
72
assets/build/dist/index.html
vendored
Normal file
72
assets/build/dist/index.html
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
<head><link href="{{ .BaseURL }}/static/css/app.d254331e81773f64579d4c8a6cfa33a4.css" rel=stylesheet></head>Html Webpack Plugin:<pre>
|
||||
Error: Child compilation failed:
|
||||
Entry module not found: Error: Can't resolve 'D:\Code\Go\src\github.com\hacdias\filemanager\index.html' in 'D:\Code\Go \src\github.com\hacdias\filemanager':
|
||||
Error: Can't resolve 'D:\Code\Go\src\github.com\hacdias\filemanager\index.html' in 'D:\Code\Go\src\github.com\hacdias\ filemanager'
|
||||
|
||||
- compiler.js:76
|
||||
[filemanager]/[html-webpack-plugin]/lib/compiler.js:76:16
|
||||
|
||||
- Compiler.js:296 Compiler.<anonymous>
|
||||
[filemanager]/[webpack]/lib/Compiler.js:296:10
|
||||
|
||||
- Compiler.js:499
|
||||
[filemanager]/[webpack]/lib/Compiler.js:499:13
|
||||
|
||||
- Tapable.js:138 next
|
||||
[filemanager]/[tapable]/lib/Tapable.js:138:11
|
||||
|
||||
- CachePlugin.js:62 Compiler.<anonymous>
|
||||
[filemanager]/[webpack]/lib/CachePlugin.js:62:5
|
||||
|
||||
- Tapable.js:142 Compiler.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:142:13
|
||||
|
||||
- Compiler.js:496
|
||||
[filemanager]/[webpack]/lib/Compiler.js:496:10
|
||||
|
||||
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:131:46
|
||||
|
||||
- Compilation.js:649 self.applyPluginsAsync.err
|
||||
[filemanager]/[webpack]/lib/Compilation.js:649:19
|
||||
|
||||
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:131:46
|
||||
|
||||
- Compilation.js:640 self.applyPluginsAsync.err
|
||||
[filemanager]/[webpack]/lib/Compilation.js:640:11
|
||||
|
||||
- Tapable.js:138 next
|
||||
[filemanager]/[tapable]/lib/Tapable.js:138:11
|
||||
|
||||
- UglifyJsPlugin.js:230 Compilation.compilation.plugin
|
||||
[filemanager]/[webpack]/lib/optimize/UglifyJsPlugin.js:230:5
|
||||
|
||||
- Tapable.js:142 Compilation.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:142:13
|
||||
|
||||
- Compilation.js:635 self.applyPluginsAsync.err
|
||||
[filemanager]/[webpack]/lib/Compilation.js:635:10
|
||||
|
||||
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:131:46
|
||||
|
||||
- Compilation.js:631 sealPart2
|
||||
[filemanager]/[webpack]/lib/Compilation.js:631:9
|
||||
|
||||
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
|
||||
[filemanager]/[tapable]/lib/Tapable.js:131:46
|
||||
|
||||
- Compilation.js:579 Compilation.seal
|
||||
[filemanager]/[webpack]/lib/Compilation.js:579:8
|
||||
|
||||
- Compiler.js:493
|
||||
[filemanager]/[webpack]/lib/Compiler.js:493:16
|
||||
|
||||
- Tapable.js:225
|
||||
[filemanager]/[tapable]/lib/Tapable.js:225:11
|
||||
|
||||
- Compilation.js:481 _addModuleChain
|
||||
[filemanager]/[webpack]/lib/Compilation.js:481:11
|
||||
|
||||
</anonymous></anonymous></pre><script type=text/javascript src="{{ .BaseURL }}/static/js/manifest.69120d687cfe04a64dee.js"></script><script type=text/javascript src="{{ .BaseURL }}/static/js/app.62616eb7240720ad996c.js"></script>
|
||||
@@ -9,7 +9,7 @@ function resolve (dir) {
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
app: './src/main.js'
|
||||
app: './assets/src/main.js'
|
||||
},
|
||||
output: {
|
||||
path: config.build.assetsRoot,
|
||||
|
||||
@@ -72,7 +72,7 @@ var webpackConfig = merge(baseWebpackConfig, {
|
||||
// see https://github.com/ampedandwired/html-webpack-plugin
|
||||
new HtmlWebpackPlugin({
|
||||
filename: config.build.index,
|
||||
template: 'index.html',
|
||||
template: 'assets/index.html',
|
||||
inject: true,
|
||||
minify: {
|
||||
removeComments: true,
|
||||
|
||||
Reference in New Issue
Block a user