【文件属性】:
文件名称:styleable-loader:Webpack加载程序用于在构建时提高CSS规则的特异性
文件大小:63KB
文件格式:ZIP
更新时间:2021-04-30 22:10:29
JavaScript
样式化的加载器
Webpack加载程序用于在构建时提高CSS规则的特异性
安装
npm i -D styleable-loader
用法
该加载程序旨在与css-loader一起使用。 确保在css-loader之后直接使用styleable css-loader 。
const Path = require ( 'path' ) ;
module . exports = {
entry : [
'./index.js'
] ,
output : {
path : Path . join ( __dirname , 'dist' ) ,
filename : 'bundle.js'
} ,
resolveLoader : {
modules : [ 'node_modules' , '
【文件预览】:
styleable-loader-master
----.gitignore(92B)
----README.md(2KB)
----package.json(833B)
----index.js(1016B)
----example()
--------test.html(357B)
--------bundle.js(26KB)
--------stylings()
--------.babelrc(117B)
--------test.js(99B)
--------webpack.config.js(917B)
----.npmignore(141B)
----.travis.yml(69B)
----package-lock.json(236KB)