We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allInOne: { js: '${filepath}.js' }
这样打包${filepath}会把html目录也打包进去,然后生成pkg/html/xxx.js 这里能否自定义路径,别把路径html/也带进去,直接生成pkg/xxx.js
The text was updated successfully, but these errors were encountered:
我是这么配置的
allInOne: { css: 'pkg/${hash}_aio.css', js: 'pkg/${hash}_aio.js', ignore: 'require.js', sourceMap: false }
Sorry, something went wrong.
升级fis最新版本,js和css property可以是function了
postpackager: fis.plugin('loader', { allInOne: { includeAsyncs: true, js: function(file) { return "static/" + file.filename + ".js"; }, css: function(file) { return "static/" + file.filename + ".css"; }, sourceMap: true //是否生成依赖map文件 }, resourcemapWhitespace: 4 })
我修改路径也是一直报错,fis版本是v3.4.13,请问也是需要升级么@earlymeme
No branches or pull requests
allInOne: {
js: '${filepath}.js'
}
这样打包${filepath}会把html目录也打包进去,然后生成pkg/html/xxx.js 这里能否自定义路径,别把路径html/也带进去,直接生成pkg/xxx.js
The text was updated successfully, but these errors were encountered: