molaxi-loader
v0.0.1
Published
webpack loader
Downloads
4
Readme
fish-loader
webpack loader for fish
fish-destkop
项目针对 webpack
的 loader
,用于处理模块打包
Install
npm i @fish/fish-loader --save-dev
注意:如果代码有使用了 css
插件,需要安装 css-loader
和 style-loader
两个模块
Usage
在webpack
配置文件里,添加模块加载规则
{
test: /\.js$/,
use: {
loader: '@fish/fish-loader',
options: {
locales: ['en', 'zh']
}
}
}