Code Monkey home page Code Monkey logo

html-prefetch-css-webpack-plugin's Introduction

Hi ๐Ÿ‘‹, I'm MarvelSQ

A passionate frontend developer from China

marvelsq

Current Languages and Tools:
  • ๐Ÿ”ญ Iโ€™m currently working on React
  • ๐ŸŒฑ Iโ€™m currently learning Rust
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on RSuite
  • ๐Ÿค Iโ€™m looking for help with Typescript
  • ๐Ÿ’ฌ Ask me about react, flux
  • ๐Ÿ“ซ How to reach me [email protected]
javascript typescript css3 html5
react redux
webpack
d3js docker electron git jest mongodb nextjs nginx nodejs postman
jenkins travisci sketch figma
marvelsq marvelsq

html-prefetch-css-webpack-plugin's People

Contributors

marvelsq avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.

image

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.