extract-loader icon indicating copy to clipboard operation
extract-loader copied to clipboard

webpack loader to extract HTML and CSS from the bundle

Results 60 extract-loader issues
Sort by recently updated
recently updated
newest added

I am new to webpack and might have a slippery grasp on how this all works exactly, but seeing as my `index.html` had a `` tag in it, I figured...

question

``` webpack.config.js: rules: [{ test: /\.css$/, use: [ 'to-string-loader', 'extract-loader', 'css-loader', ] ``` My demo: ![image](https://user-images.githubusercontent.com/41603686/74235275-92bb1500-4d09-11ea-8fbf-56ddc7873ef5.png) ``` **### index.csss:** @import './common.css'; text { color: aliceblue; background-image: url('https:www.baidu.com'); } **common.css:** body...

I have a project which works fine with extract-loader 3.1. Upgraded to extract-loader 4 today morning and now it won't compile. Webpack fails with the following error > ERROR in...

> package.json ``` "dependencies": { "css-loader": "^2.1.1", "extract-loader": "^3.1.0", "file-loader": "^3.0.1", "html-loader": "^0.5.5", "style-loader": "^0.23.1", "webpack-cli": "^3.3.0", "webpack": "^4.30.0" } ``` > webpack.config.js ``` entry: './index.html', output: { path: path.resolve(__dirname,...

I created a reproduce demo here https://github.com/peerigon/extract-loader/pull/64/files In this case the `main.css` imports `common.css` which is a symlink to `symlinks/common.css`. ``` 1 . 2 ├── symlinks 3 │   └── common.css...

I am loading an HTML file through the latest HTML loader(@1.0.0-alpha.0) and extract loader(@3.0.0): ``` { test: /\.html$/, use: [{ loader: 'extract-loader', }, { loader: 'html-loader', }], } ``` I...

Is there a way to rename the output file? For instance, I have a simple SCSS file that I want extracted to `[hash].css`. Currently: ``` config.module.rules.push({ test: /\.(scss)$/, use: ["extract-loader",...

Hie! This is my project https://github.com/g1un/path-resolve-issue I added "src/fonts" to my resolve.modules in webpack.config.js (https://github.com/g1un/path-resolve-issue/blob/test/webpack.config.js#L33) and tried to use fonts with path with '~' (https://github.com/g1un/path-resolve-issue/blob/test/src/scss/components/_fonts.scss#L4). It works with [email protected], but...

It seems like the recent release(3.1.0) does not including latest commit.(678933e) For example, `getPublicPath` of https://unpkg.com/[email protected]/lib/extractLoader.js does not changed since 3.0.0.