Skip to content

Commit

Permalink
feat: use suffix for some lib
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Mar 9, 2024
1 parent bb9a94e commit df6759b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 22 deletions.
7 changes: 4 additions & 3 deletions plugins/oeyoews/neotw-vue3-dev/files/tiddlywiki.files
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"tiddlers": [
{
"file": "./vue.global.js",
"file": "vue.global.prod.js",
"fields": {
"type": "application/javascript",
"title": "$:/plugins/oeyoews/neotw-vue3/vue.global.prod.js",
"module-type": "library",
"type": "application/javascript",
"hide-body": "yes"
}
},
"suffix": "\nmodule.nexports = Vue;\n"
}
]
}
4 changes: 1 addition & 3 deletions plugins/oeyoews/neotw-vue3-dev/files/vue.global.js
Original file line number Diff line number Diff line change
Expand Up @@ -16666,6 +16666,4 @@ ${codeFrame}` : message);

return exports;

})({});

module.exports = Vue
})({});
13 changes: 5 additions & 8 deletions plugins/oeyoews/neotw-vue3/files/tiddlywiki.files
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
{
"directories": [
"tiddlers": [
{
"path": "./",
"filesRegExp": "^.*\\.js$",
"file": "vue.global.prod.js",
"fields": {
"title": {
"prefix": "$:/plugins/oeyoews/neotw-vue3/",
"source": "filename"
},
"type": "application/javascript",
"title": "$:/plugins/oeyoews/neotw-vue3/vue.global.prod.js",
"module-type": "library",
"hide-body": "yes"
}
},
"suffix": "\nmodule.exports = Vue;\n"
}
]
}
4 changes: 1 addition & 3 deletions plugins/oeyoews/neotw-vue3/files/vue.global.prod.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions plugins/oeyoews/vue-i18n/files/tiddlywiki.files
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"tiddlers": [
{
"file": "./vue-i18n.global.prod.js",
"file": "vue-i18n.global.prod.js",
"fields": {
"title": "vue-i18n.global.prod.js",
"module-type": "library",
"type": "application/javascript",
"hide-body": "yes"
}
},
"suffix": "\nmodule.exports = VueI18n;\n"
}
]
}
4 changes: 1 addition & 3 deletions plugins/oeyoews/vue-i18n/files/vue-i18n.global.prod.js

Large diffs are not rendered by default.

0 comments on commit df6759b

Please sign in to comment.