build-plugin-sto-shim-css

hack css module for old project when upgrade to cone

Usage no npm install needed!

<script type="module">
  import buildPluginStoShimCss from 'https://cdn.skypack.dev/build-plugin-sto-shim-css';
</script>

README

Build Plugin Sto Shim Css

Installation

Install the plugin:

$ npm i build-plugin-sto-shim-css -D
$ yarn add build-plugin-sto-shim-css --dev

When use this plugin, don't need rename css module file to xxx.modules.xxx. Only use it when a old project upgrade to cone for css module hack.

Usage

build.json

{
  "plugins": [
    [
      "build-plugin-sto-shim-css"
    ]
  ]
}