Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
fix for WDS hash output
Browse files Browse the repository at this point in the history
  • Loading branch information
dexhorthy committed Aug 9, 2018
1 parent 0bedb3f commit 5ce2342
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 35 deletions.
3 changes: 1 addition & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"webpack": "^4.16.5",
"webpack-cli": "^2.0.10",
"webpack-dev-server": "^3.1.1",
"webpack-merge": "^4.1.2",
"write-file-webpack-plugin": "^4.3.2"
"webpack-merge": "^4.1.2"
},
"dependencies": {
"@maji/react-prism": "^1.0.1",
Expand Down
11 changes: 5 additions & 6 deletions web/webpack.config.configOnly.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var webpack = require("webpack");
var path = require("path");
var srcPath = path.join(__dirname, "src");
var WriteFilePlugin = require("write-file-webpack-plugin");

module.exports = {
entry: [
Expand All @@ -10,14 +9,14 @@ module.exports = {

plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(),
new WriteFilePlugin()
new webpack.NamedModulesPlugin()
],
output: {
path: path.join(__dirname, 'dist')
path: path.join(__dirname, 'dist'),
publicPath: "/",
filename: "[name].[hash].js"
},


module: {
rules: [
{
Expand Down Expand Up @@ -53,4 +52,4 @@ module.exports = {
verbose: true
},
}
}
}
27 changes: 0 additions & 27 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1849,14 +1849,6 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1:
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

chalk@^2.4.0:
version "2.4.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
dependencies:
ansi-styles "^3.2.1"
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

chalk@~0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f"
Expand Down Expand Up @@ -3622,10 +3614,6 @@ fileset@^2.0.2:
glob "^7.0.3"
minimatch "^3.0.3"

filesize@^3.6.1:
version "3.6.1"
resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317"

fill-range@^2.1.0:
version "2.2.3"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723"
Expand Down Expand Up @@ -6296,10 +6284,6 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
dependencies:
minimist "0.0.8"

moment@^2.22.1:
version "2.22.2"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66"

moo@^0.4.3:
version "0.4.3"
resolved "https://registry.yarnpkg.com/moo/-/moo-0.4.3.tgz#3f847a26f31cf625a956a87f2b10fbc013bfd10e"
Expand Down Expand Up @@ -10225,17 +10209,6 @@ write-file-atomic@^2.1.0:
imurmurhash "^0.1.4"
signal-exit "^3.0.2"

write-file-webpack-plugin@^4.3.2:
version "4.3.2"
resolved "https://registry.yarnpkg.com/write-file-webpack-plugin/-/write-file-webpack-plugin-4.3.2.tgz#7b07b3be009be1da668edf46cfb8a357b404b912"
dependencies:
chalk "^2.4.0"
debug "^3.1.0"
filesize "^3.6.1"
lodash "^4.17.5"
mkdirp "^0.5.1"
moment "^2.22.1"

write@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757"
Expand Down

0 comments on commit 5ce2342

Please sign in to comment.