diff --git a/README.md b/README.md index a4a1ac1..5551501 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,11 @@ If the layer order is injected via style tag then the nonce property will be set ## Advanced usage example ```js -const CssLayeringPlugin = require("css-layering-webpack-plugin"); +const { CSSLayeringPlugin } = require("css-layering-webpack-plugin"); module.exports = { plugins: [ - new CssLayeringPlugin({ + new CSSLayeringPlugin({ layers: [ { path: "**/src/features/exports/**/*.module.scss", name: "exports" }, { path: "**/src/components/**/*.module.scss", name: "components" }, diff --git a/package.json b/package.json index b39b09e..7755cc4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.4.1", + "version": "1.0.0", "name": "css-layering-webpack-plugin", "main": "dist/index.js", "scripts": {