For questions please post on Stack Overflow and use the 'webpack' tag (http://stackoverflow.com/tags/webpack).
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump jest-cli … (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump pretty-fo… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump jest-diff… (compare)
dependabot[bot] on npm_and_yarn
ExtendedAPIPlugin
which is supposed to make a new variable __webpack_hash__
available is not defined when I load & run it.Hi :wave:
the recent upgrade 3.7.1 of webpack-dev-middleware causes the following error. When I downgrade to 3.7.0 everything is fine:
✖ 「wdm」: TypeError: Cannot read property 'tapAsync' of undefined
at compiler.hooks.emit.tap (****/webpack-dev-middleware/lib/fs.js:18:37)
at _next3 (eval at create (****/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
at _err3 (eval at create (****/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)
at callback (****/copy-webpack-plugin/dist/index.js:77:17)
at ****/copy-webpack-plugin/dist/index.js:118:24
at <anonymous>
any ideas?
./node_modules/.bin/webpack --version
Cannot read Component of undefined
.<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.production.min.js"></script>
in my index.html, and that does the job. But i would like to know why webpack doesn't not integrate react (from node_modules) itself in the finalbundle.js
? :O
Hello, community! I have a question about bundling dependency js library (it is not an NPM lib and it was bundled with webpack for browser <script>.. just a .js file) into my new library that I build using typescript.
How to define and inject this .js library into my final bundle?
=n(19)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return rt}),n.d(t,"b",function(){return we}),n.d(t,"d",function(){return ot});var r=n(3),i=n.n(r),o=n(14),a=n.n(o),l=n(0),s=n.n(l),u=n(15),c=n(4),f=n(5),d=(n(27),n(17)),p=n(18),h=function(e,t){for(var n=
=n(19)},
presented, I don't know why
Question when using webpack and starting / stopping the server for whatever reason, more often then not I'm editing the actual webpack configuration file, and when i stop then start webpack will launch a window / tab in my default browser but will launch a completely new tab as opposed to reusing the existing open tab.
Has anyone developed a solution where if I stop a webpack dev server and have an existing tab that was associated with a running dev server instance that when i startup webpack again it will "intellegently" (and i use that term loosely) check to see if there is a tab open with the domain or socket that was being used and reconnect to the existing tab? it's quite tedious to close, open, shuffle tabs while working with configuration changes that require the dev server to stopped then started.
i don't "impossible to solve" is the correct answer but I don't work with webpack daily so i'm little rusty on certain things.
are saying there isn't a way to check / query open browser windows / tabs when launching webpack to check the DOM element that's related to hte address bar and see if there is an address that is related to the one that webpack is about to open?
are saying that's impossible?