Coder Social home page Coder Social logo

nerdmax / html-webpack-change-assets-extension-plugin Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 6.0 706 KB

Add customized extension to index.html file's script that generated by html-webpack-plugin.

License: MIT License

JavaScript 8.47% TypeScript 91.53%

html-webpack-change-assets-extension-plugin's People

Contributors

greenkeeper[bot] avatar nerdmax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

html-webpack-change-assets-extension-plugin's Issues

An in-range update of ts-node is breaking the build ๐Ÿšจ


โ˜๏ธ 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


The devDependency ts-node was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v8.7.0

Fixed

  • Remove buggy caching of ts.sys.readDirectory (#969)
  • Fix REPL ASI handling when user input starts with - (#944)

Added

Changed

  • Deprecate ts-script in favor of ts-node-script (#948) @G-Rath

Docs

  • Fix bash syntax error in README (#943) @abraj
  • Add Github issue templates (#959, #965, #947)
  • Add IntelliJ debug instructions to README (#958)
  • Add mocha 7 usage example to README (#961)
FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of html-webpack-plugin is breaking the build ๐Ÿšจ

The devDependency html-webpack-plugin was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/node is breaking the build ๐Ÿšจ

The devDependency @types/node was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

html-webpack-plugin compatibility

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?

Cannot read property 'compilation' of undefined

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?

Webpack 5 support

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.

[email protected] TypeError: Cannot read property 'tapAsync' of undefined

              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

An in-range update of @types/node is breaking the build ๐Ÿšจ

The devDependency @types/node was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of rollup is breaking the build ๐Ÿšจ


โ˜๏ธ 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


The devDependency rollup was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.32.1

2020-03-06

Bug Fixes

  • Handle default export detection for AMD and IIFE externals that do not have a prototype (#3420)
  • Handle missing whitespace when the else branch of an if-statement is simplified (#3421)
  • Mention the importing module when reporting errors for missing named exports (#3401)
  • Add code to warning for missing output.name of IIFE bundles (#3372)

Pull Requests

  • #3372: Add warning code for missing output.name of IIFE bundle that has export (@rail44)
  • #3401: Missing exports errors now print the importing module (@timiyay)
  • #3418: Structure lifecycle hooks, add links to build time hooks (@lukastaegert)
  • #3420: Update generated code of getInteropBlock() to work with null prototype objects (@jdalton)
  • #3421: Avoid invalid code when "else" branch is simplified (@lukastaegert)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Action required: Greenkeeper could not be activated ๐Ÿšจ

๐Ÿšจ 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.

An in-range update of rollup is breaking the build ๐Ÿšจ

The devDependency rollup was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.14.3

2019-06-06

Bug Fixes

  • Generate correct external imports when importing from a directory that would be above the root of the current working directory (#2902)

Pull Requests

Commits

The new version differs by 4 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

NPM package lacks dist

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.

An in-range update of webpack is breaking the build ๐Ÿšจ

The devDependency webpack was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v4.42.0

Bugfixes

  • Disable constant replacements in "use asm" scope
  • Update schema to disallow functions for output.hotUpdateChunkFilename as this doesn't work
  • Hoist exports in concatenated module to handle circular references with non-concatenated modules correctly
  • Flag all modules as used in DLLs to fix missing exports
Commits

The 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

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of coveralls is breaking the build ๐Ÿšจ


โ˜๏ธ 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


The devDependency coveralls was updated from 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.

Status Details

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/jest is breaking the build ๐Ÿšจ

The devDependency @types/jest was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of all-contributors-cli is breaking the build ๐Ÿšจ


โ˜๏ธ 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


The devDependency all-contributors-cli was updated from 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.

Status Details

Release Notes for v6.14.2

6.14.2 (2020-04-17)

Bug Fixes

  • repo: pass optionalPrivateToken to recursive calls (#258) (db5d731)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of rollup is breaking the build ๐Ÿšจ

The devDependency rollup was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.9.3

2019-04-10

Bug Fixes

  • Simplify return expressions that are evaluated before the surrounding function is bound (#2803)

Pull Requests

  • #2803: Handle out-of-order binding of identifiers to improve tree-shaking (@lukastaegert)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of rollup is breaking the build ๐Ÿšจ

The devDependency rollup was updated from 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.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

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

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.