Skip to content

Commit 7c205c5

Browse files
farfromrefugactions-user
authored andcommitted
chore: update common files
1 parent d3085cb commit 7c205c5

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr --env.watchNodeModules",
3636
"postinstall": "npm run setup",
3737
"publish": "npm run clean && npm run build.all && npm run readme && lerna publish --no-private --create-release=github --force-publish",
38-
"readme": "node ./tools/readme.js",
38+
"readme": "lerna run readme && node ./tools/readme.js",
3939
"setup": "npm run submodules && ts-patch install",
4040
"start": "./node_modules/.bin/ntl -A -s 15 -o",
4141
"submodules": "git submodule update --init",

svelte.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const sveltePreprocess = require('svelte-preprocess');
2+
// const svelteNativePreprocessor = require('svelte-native-preprocessor');
3+
4+
module.exports = {
5+
compilerOptions: {
6+
namespace: 'foreign'
7+
},
8+
preprocess: [
9+
sveltePreprocess({
10+
typescript: {
11+
compilerOptions: {
12+
target: 'es2020'
13+
}
14+
}
15+
})
16+
// svelteNativePreprocessor()
17+
]
18+
};

0 commit comments

Comments
 (0)