Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Commit 70b6fb1

Browse files
committed
Initial commit
0 parents  commit 70b6fb1

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+
node_modules

index.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = (context, request, callback) => {
2+
if (context.indexOf('tns-core-modules') !== -1
3+
|| context.indexOf('nativescript-') !== -1
4+
|| /^(tns-core-modules)/i.test(request)) {
5+
return callback(null, 'commonjs ' + request);
6+
}
7+
callback();
8+
};

package.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "nativescript-vue-externals",
3+
"version": "0.1.0",
4+
"description": "NativeScript-Vue webpack externals configuration.",
5+
"main": "index.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/lewebsimple/nativescript-vue-externals.git"
9+
},
10+
"author": "Pascal Martineau <[email protected]>",
11+
"license": "MIT",
12+
"bugs": {
13+
"url": "https://github.com/lewebsimple/nativescript-vue-externals/issues"
14+
},
15+
"homepage": "https://github.com/lewebsimple/nativescript-vue-externals#readme"
16+
}

0 commit comments

Comments
 (0)