Skip to content

babel转码中使用import("./index.less")修改为require("./index.css")

License

Notifications You must be signed in to change notification settings

iuap-design/babel-plugin-import-less-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-import-less-css

babel转码中使用import("./index.less")修改为require("./index.css")

npm version NPM downloads

安装

$ npm install babel-plugin-import-less-css -D

使用

修改 .babelrc

{
	"presets": [],
	"plugins": [
		"import-less-css"
	]
}

About

babel转码中使用import("./index.less")修改为require("./index.css")

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published