nerdmax / html-webpack-change-assets-extension-plugin Goto Github PK
View Code? Open in Web Editor NEWAdd customized extension to index.html file's script that generated by html-webpack-plugin.
License: MIT License
Add customized extension to index.html file's script that generated by html-webpack-plugin.
License: MIT License
โ๏ธ Important announcement: Greenkeeper will be saying goodbye ๐ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
8.6.2
to 8.7.0
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
ts-node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Fixed
ts.sys.readDirectory
(#969)-
(#944)Added
LanguageServiceHost::getProjectVersion
to workaround microsoft/TypeScript#36748 (#906ts-node-transpile-only
binary (#939) @G-RathChanged
Docs
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
4.0.0-beta.8
to 4.0.0-beta.9
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
html-webpack-plugin is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
10.12.8
to 10.12.9
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
Hey, I see you've introduced "html-webpack-plugin": "^3.2.0 || ^4.0.0 || ^5.0.0", as a pear dependency. Thanks for that.
However, when I download the latest version from NPM (1.3.0) it still has the "html-webpack-plugin": "^3.2.0 || ^4.0.0-beta.4"
peer dependency specified in package.json.
Is there a chance for 1.3.1 version with that peerDependencies
updated?
working with webpack 3.10.0, whenever i build i get this error
TypeError: Cannot read property 'compilation' of undefined at HtmlWebpackChangeAssetsExtensionPlugin.apply (/Users/yasserzubair1/projects/graana-projects/node_modules/html-webpack-change-assets-extension-plugin/dist/html-webpack-change-assets-extension-plugin.umd.js:13:26) at Compiler.apply (/Users/yasserzubair1/projects/graana-projects/node_modules/tapable/lib/Tapable.js:375:16) at webpack (/Users/yasserzubair1/projects/graana-projects/node_modules/webpack/lib/webpack.js:33:19) at processOptions (/Users/yasserzubair1/projects/graana-projects/node_modules/webpack/bin/webpack.js:335:15) at yargs.parse (/Users/yasserzubair1/projects/graana-projects/node_modules/webpack/bin/webpack.js:397:2) at Object.Yargs.self.parse (/Users/yasserzubair1/projects/graana-projects/node_modules/yargs/yargs.js:533:18) at Object.<anonymous> (/Users/yasserzubair1/projects/graana-projects/node_modules/webpack/bin/webpack.js:152:7) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3
what's wrong?
Will this package be updated with webpack 5 support?
As far as I can tell this is still the best way to use html-webpack-plugin if you use gzip compressed js assets, but the plugin does not work with v5+ of webpack/html-webpack-plugin.
compilation.hooks.htmlWebpackPluginBeforeHtmlProcessing.tapAsync('HtmlWebpackChangeAssetsExtensionPlugin', function (data, cb) {
^
TypeError: Cannot read property 'tapAsync' of undefined
at C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\html-webpack-change-assets-extension-plugin\dist\html-webpack-change-assets-extension-plugin.umd.js:13:71
at SyncHook.eval [as call] (eval at create (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\HookCodeFactory.js:19:10), <anonymous>:7:1)
at SyncHook.lazyCompileHook (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.newCompilation (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:503:26)
at hooks.beforeCompile.callAsync.err (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:539:29)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:534:28)
at readRecords.err (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:274:11)
at Compiler.readRecords (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:401:11)
at hooks.run.callAsync.err (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:271:10)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\Hook.js:154:20)
at hooks.beforeRun.callAsync.err (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:268:19)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:15:1)
at AsyncSeriesHook.lazyCompileHook (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.run (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\lib\Compiler.js:265:24)
at processOptions (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack-cli\bin\cli.js:533:20)
at yargs.parse (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack-cli\bin\cli.js:536:3)
at Object.parse (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\yargs\yargs.js:563:18)
at C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack-cli\bin\cli.js:219:8
at Object.<anonymous> (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack-cli\bin\cli.js:538:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Projects\BDX\bdxliveredesign\BdxRedesign.App\node_modules\webpack\bin\webpack.js:155:2)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
This was solved in html-webpack-include-assets-plugin
through the following commit jharris4/html-webpack-tags-plugin@b12d05a#diff-168726dbe96b3ce427e7fedce31bb0bcR355
I'll submit a pull request
12.7.0
to 12.7.1
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
โ๏ธ Important announcement: Greenkeeper will be saying goodbye ๐ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
1.32.0
to 1.32.1
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2020-03-06
The new version differs by 8 commits.
f458cbf
1.32.1
8cbf216
Update changelog
97b8c40
warn.code for missing output.name of IIFE bundle that has export (#3372)
eeda078
Update generated code of getInteropBlock() to work with null prototype objects (#3420)
85c54ee
Avoid invalid code when "else" branch is simplified (#3421)
1e6284f
Missing exports errors now print the importing module (#3401)
baf382a
Fix internal documentation links
6f0f62b
Structure lifecycle hooks, add links to build time hooks (#3418)
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
๐จ You need to enable Continuous Integration on Greenkeeper branches of this repository. ๐จ
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didnโt receive a CI status on the greenkeeper/initial
branch, itโs possible that you donโt have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how itโs configured. Make sure it is set to run on all new branches. If you donโt want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, youโll need to re-trigger Greenkeeperโs initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
1.14.2
to 1.14.3
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2019-06-06
The new version differs by 4 commits.
c68bd95
1.14.3
d79aa57
Update changelog
7179390
Use browser relative path algorithm for chunks (#2902)
b1df517
Add funding button
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
Hi there, thanks for your hard work :-).
Could you please generate the dist
files and upload a package to NPM? The package doesn't work out of the box, it has to be built.
4.41.6
to 4.42.0
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
"use asm"
scopeoutput.hotUpdateChunkFilename
as this doesn't workThe new version differs by 11 commits.
29d851b
4.42.0
07a4b28
Merge pull request #10478 from webpack/bugfix/all-modules-dll
c1aa9d4
flag all modules as used for Dll
d147689
Merge pull request #10431 from webpack/bugfix/concat-circular-4
d76761d
hoist exports to the top of a concatenated module
534d78f
Merge pull request #10393 from webpack/schema/disallow-function-hotchunkfilename
d46ddc2
disallow function for output.hotUpdateChunkFilename
95409bd
Merge pull request #10294 from ngg/asmjs-4
7a30012
spacing
284e97f
add detectStrictMode method for backward-compat
a7a07bc
do not evaluate constants in asm.js, fix IIFE mode detection
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
โ๏ธ Important announcement: Greenkeeper will be saying goodbye ๐ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
3.0.12
to 3.0.13
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
coveralls is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
24.0.1
to 24.0.2
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
โ๏ธ Important announcement: Greenkeeper will be saying goodbye ๐ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
6.14.1
to 6.14.2
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
all-contributors-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
db5d731
fix(repo): pass optionalPrivateToken to recursive calls (#258)
a671507
docs: Add badge for the AUR package (#256)
2de352a
docs(license): MIT (#255)
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
1.9.2
to 1.9.3
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2019-04-10
The new version differs by 3 commits.
516a06d
1.9.3
a5526ea
Update changelog
c3d73ff
Handle out-of-order binding of identifiers to improve tree-shaking (#2803)
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
1.18.0
to 1.19.0
.๐จ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 6 commits.
9af119d
1.19.0
b3f361c
Update changelog
456f4d2
Avoid variable from empty module name be empty (#3026)
17eaa43
Use id of last module in chunk as name base for auto-generated chunks (#3025)
871bfa0
Switch to a code-splitting build and update dependencies (#3020)
2443783
Unified file emission api (#2999)
See the full diff
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.