1.0.4 • Published 7 years ago

copy-style-file v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Copy Style File

Copy style file copies less and css files from source to dist with Webpack. It compiles less to css, then minifies them if it is in production mode.

NPM

npm install --save-dev copy-style-file

webpack.config.js

const CopyStyleFile = require('copy-style-file');

plugins : [
	new CopyStyleFile([
		{from:'src/style/style.less', to:'style/style.css'},
		{from:'src/style/util.css', to:'style/util.css'}
	])
]
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago