Comments (4)
@terox This project just wasn't maintained well enough for me. So I moved on to rollup, which had better support, and then I moved again to vite, which I think has the best current tooling and support.
from extract-loader.
Hello!
I am experimenting the same issue in this repo.
Related: webpack-contrib/html-loader#329
from extract-loader.
@terox I had two issues in my package.
- extract-loader does NOT handle script src properly. Solution: use absolute links to make html-loader ignore them, or turn them off in html-loader options
- You cannot combine extract-loader with minicssplugin.
Here's my current config, which works. https://gist.github.com/isaacl/64f689595ad5fb959b0565cc50514ae2
I also wrote this hacky script to fix the script tag manually post-build: https://gist.github.com/isaacl/7f8f3855c151f7fb21d8213b9cbde1ac
from extract-loader.
@isaacl I updated my master branch with a couple of useful PR from the main project that fix this issue and alises: https://github.com/terox/extract-loader
from extract-loader.
Related Issues (20)
- SyntaxError: unknown: Unexpected token (import) HOT 12
- Is this loader maintained? HOT 4
- webpack5 use extract-loader to extract html file,but extract-loader always report error. HOT 3
- No dependencies to successor loader
- Reporting a vulnerability
- Archive this package
- loaderContext.loadModule API throw error when using with css-loader
- Missing Babel dependencies in 5.0
- Shouldn't sourceMaps be ignored if the devtool option is set to false?
- Import error with ES6 js script embedded in html body HOT 1
- working incorrect with [email protected] HOT 1
- Doesn't work with aliases properly HOT 3
- undefined image src if image used twice in html HOT 1
- v5.2.0 breaks parts of code loaded with ref-loader HOT 1
- Update dependencies to babel7.
- style="background-image: url('file');" not parsed
- could there be boolean option to ignore .js files?
- Webpack 5.1.3 and PublicPath auto HOT 3
- Extract loader doesn't work with css-loader 5.x HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extract-loader.