issues Search Results · repo:adierkens/webpack-inject-plugin language:TypeScript
Filter by
17 results
(76 ms)17 results
inadierkens/webpack-inject-plugin (press backspace or delete to remove)You can achieve the same kind of functionality this way:
new webpack.BannerPlugin({
entryOnly: true,
include: options.bundleName
? options.bundleName + .js
: /\.js$/, ...
sunesimonsen
- Opened on Nov 17, 2022
- #66
Hello!
Webpack 5 — when run, get error:
ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.entry[ ...
movie4
- Opened on Sep 27, 2021
- #62
I followed the example. It s injecting for normal bundles like bundle.xyz.js . But it s not injecting for vendor bundles
like vendor~main.xyz.js . Vendor bundles are for stuff that s imported like libraries. ...
Chiraglr
- Opened on Apr 2, 2021
- #56
Trying to upgrade a repo to use webpack 5 but I keep getting this:
ERROR in (./node_modules/webpack-inject-plugin/dist/webpack-inject-plugin.loader.js?id=webpack-inject-module-2!)
Module build failed ...
donferi
- 4
- Opened on Oct 20, 2020
- #49
Hey guys,
I want to require the code I injected. In development mode I can us code like this:
__webpack_require__(
./node_modules/webpack-inject-plugin/dist/webpack-inject-plugin.loader.js?id=webpack-inject-module-3!./ ...
michaelgohl
- 1
- Opened on Jun 8, 2020
- #45
Hi,
I am using webpack-inject-plugin plugin to generate following module content:
new InjectPlugin(
() = `
export default () = import( E:\\node\\cra-external-import\\node_modules\\.pnpm\\registry.npmjs.org\\react-dev-utils\\10.0.0\\node_modules\\react-dev-utils\\webpackHotDevClient.js ...
ppiyush13
- 2
- Opened on Jan 26, 2020
- #43
Can create an example for the async case? You can either return the raw content to load, or a Promise which resolves to
the content, if you wish to be async.
Because from my understanding the loader needs ...
stefanovualto
- 1
- Opened on Oct 21, 2019
- #36
Not sure if I m missing something but the README mentions that the callback supplied to the plugin is invoked with the
same scope as loader but this in the function is an empty object. Am I missing something? ...
emily-ellevation
- 4
- Opened on Sep 30, 2019
- #35
It would be useful to inject code at specific places in a file using this tool, but not with a macro replacement. This
would be helpful if you want to inject code into vendor libraries.
I d imagine you ...
J-Rojas
- 4
- Opened on Sep 28, 2019
- #34
What, if any compiler hooks does this plugin work under?
I see this working if ran directly within the apply of a plugin I m authoring, however if ran within any of the
compiler.hooks.***.tap, this plugin ...
drolsen
- 2
- Opened on Aug 20, 2019
- #33

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.