webpack-loader
Here are 502 public repositories matching this topic...
-
Updated
Jul 11, 2020 - JavaScript
- Operating System: OSX 10.15.2
- Node Version: v10.1
To convenient and clearly, for webpack user to find their wanted plugins in https://webpack.js.org/plugins/.
Whether the plugins list can arrange with types(with similar ability) like in loaders, such as Minify, Output and so on?
Some of plugins have similar ability. like babel-miniy-webpack-plugin,ugliyfyjs-webpack-plugin,terser-webpack-plugin are all about
Webpack 5 support
Haven't seen this reporter anywhere, tried out alpha 27 and with workerize-loader I get this:
TypeError: this.cache.get is not a function
at /Users/nw/projects/motion/orbit/node_modules/webpack/lib/Compilation.js:2186:18
at arrayEach (/Users/nw/projects/motion/orbit/node_modules/neo-async/async.js:2405:9)
at Object.each (/Users/nw/projects/motion/orbit/node_modules/neo-async
svg-sprite-loader is good loader for svg.
But the example custom-runtime-generator only include React.
I create a repo for use svg-sprite-loader in vue through runtime-generator.
Please see this repo: https://github.com/Akimyou/svg-sprite-vue-generator
But i want to add some example in svg-sprite-loader main repo or in docs, can U give me some suggestion about it?
-
Updated
Jul 13, 2020 - JavaScript
-
Updated
Jul 14, 2020 - JavaScript
-
Updated
Jul 8, 2020 - JavaScript
-
Updated
Jul 15, 2020 - JavaScript
-
Updated
Jul 13, 2020 - JavaScript
-
Updated
Feb 20, 2018 - JavaScript
-
Updated
Apr 16, 2020 - TypeScript
Automatically add class name to <svg> tag from its svg file name.
What does the proposed API look like?
A file named logo.svg :
<svg class="foo" viewBox="0 0 25 25">
<path d="..."/>
</svg>The options :
{
test: /\.svg$/,
loader: 'svg-inline-loader',
options: {
className: 'icon-[filename]',
// or
// classPrefix: 'icon-
Updated
May 20, 2020 - JavaScript
Hi,
I'd like to contribute to improving the documentation for this great plugin.
It's only a detail but I haven't been able to find in the docs that if some sizes are set like [300, 600, 1200], the first one will be the one used for src attribute. So in my case, IE was using the 300px image instead of the bigger one. To fix this I had just to put 1200 as the first array element.
Could
-
Updated
Aug 20, 2018 - JavaScript
My team and I ran into a production issue where we were not passing the results of vue-svg-loader to babel-loader. This caused a production issue with IE11. After reading the documentation a bit more carefully, it looks like babel-loader is implicitly used throughout to docs.
Would there be a benefit to adding a brief snippet of documentation stating that the loader requires babel to be
Improve this page
Add a description, image, and links to the webpack-loader topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the webpack-loader topic, visit your repo's landing page and select "manage topics."
I've been playing around with Razzle and how the Server HMR works.
I generated a Razzle Project and run it
npx create-razzle-app my-appcd my-app && yarn startIf I now edit the
src/Home.jsI see hot reloading working in the browser and I see theserver.jsbeing re-required by theindex.js. But if I open my dev tools "view page source" my changes are not actually in the HTML