rollup-plugin-resolve-as
v0.1.3
Published
Some processing logic depends on special file names, so...
Downloads
2
Maintainers
Readme
rollup-plugin-resolve-as
Some processing logic depends on special file names, so...
Install
npm i -D rollup-plugin-resolve-as
Usage
Vite
import vite from 'vite';
import resolveAs from 'rollup-plugin-resolve-as';
export default defineConfig({
plugins: resolveAs({
map: file => file.replace(/(\.module)?\.css$/, '.module.css')
}),
});