chore: father 配置 glsl 内联 (#1305)

* docs: 增加demo,关闭 any lint

* docs: demo& ie 兼容问题

* chore: dev-build

* chore: father 配置 glsl 内联
This commit is contained in:
@thinkinggis 2022-08-26 17:06:17 +08:00 committed by GitHub
parent c3fe87a686
commit bc8b4d57df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,17 +1,16 @@
import { string } from "rollup-plugin-string";
export default {
// more father 4 config: https://github.com/umijs/father-next/blob/master/docs/config.md
esm: {
output:'es'
output:'es',
},
cjs: {
output:'lib'
output:'lib',
},
platform:'browser',
autoprefixer: {
browsers: ['IE 11', 'last 2 versions'],
},
extraBabelPresets: [
'@babel/preset-typescript'
],
extraBabelPlugins: [
// 开发模式下以原始文本引入,便于调试
[

View File

@ -6,6 +6,7 @@ export default {
cjs: {
output:'lib'
},
platform:'browser',
autoprefixer: {
browsers: ['IE 11', 'last 2 versions'],
},