Current | Languages and Tools: |
---|---|
|
|
html-prefetch-css-webpack-plugin's Introduction
html-prefetch-css-webpack-plugin's People
html-prefetch-css-webpack-plugin's Issues
Error with compilation hash
Instead of prefetching lazy.css as
the plugin is prefetching the file withs its compilation.hash (e.j.: 123456789) and give the following link inside the html
As a result when the browser is using lazy.css, the stylesheet is loaded again instead of retrieving it from the cache.
Solution:
Remove ?${compilation.hash} on the line 86 of the index.js
Error using plugin
Hi,
I get the following error when i try to use the plugin.
Actually my dependencies are:
```
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.51",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/preset-react": "^7.0.0-beta.51",
"autoprefixer": "^8.6.4",
"babel-loader": "^8.0.0-beta.4",
"babel-plugin-smart-webpack-import": "^1.2.1",
"css-loader": "^0.28.11",
"html-prefetch-css-webpack-plugin": "^0.0.1",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.9.0",
"postcss-loader": "^2.1.5",
"preload-webpack-plugin": "^2.3.0",
"resource-hints-webpack-plugin": "^0.0.2",
"sass-loader": "^7.0.3",
"webpack": "^4.12.2",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4"
Is it caused by dependencies?
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.