snowpack-proxy-import-loader
v0.1.1
Published
Trim .proxy.js of import
Downloads
2
Readme
snowpack-proxy-import-loader
Trim .proxy.js
of import
;
import './foo.css.proxy.js';
import img1 from './img1.png.proxy.js';
Becomes:
import './foo.css';
import img1 from './img1.png';
Usage
webpack.config.js:
module.exports = {
// ...
module: {
rules: [
test: /\.js$/,
use: ['snowpack-proxy-import-loader']
]
}
};