From 390c37713146d9b158507fe9bd604ca860f254f5 Mon Sep 17 00:00:00 2001 From: Gant Date: Tue, 3 Sep 2019 21:28:09 -0500 Subject: [PATCH 1/2] new bundle method for scripts --- .npmignore | 7 ++++++- example/minimal_demo/index.html | 8 ++++---- package.json | 9 ++++++--- src/nsfwjs.ts | 2 ++ yarn.lock | 2 +- 5 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 src/nsfwjs.ts diff --git a/.npmignore b/.npmignore index d29eebda..d831b7cc 100644 --- a/.npmignore +++ b/.npmignore @@ -16,4 +16,9 @@ example/ _art/ yarn-error.log bundle.js -.DS_Store \ No newline at end of file +.DS_Store + +# Ignore intermediate bundle (unminified) +dist/nsfwjs.d.ts +dist/nsfwjs.js +dist/nsfwjs.js.map diff --git a/example/minimal_demo/index.html b/example/minimal_demo/index.html index 2b5d04e6..d292801d 100644 --- a/example/minimal_demo/index.html +++ b/example/minimal_demo/index.html @@ -2,13 +2,13 @@ - + - - + +