diff --git a/.babelrc b/.babelrc
index 8ba54ff81..f94e2d8a1 100644
--- a/.babelrc
+++ b/.babelrc
@@ -12,6 +12,7 @@
],
"plugins": [
"@babel/plugin-proposal-class-properties",
+ "@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-regenerator",
"@babel/plugin-transform-runtime"
]
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7a949aa47..6bd6848a5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -37,7 +37,7 @@ jobs:
key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
# Build & Test
- - run: yarn build
+ - run: yarn build:package:ci
# https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/
- run:
name: 'JavaScript Test Suite'
diff --git a/.env.development b/.env.development
new file mode 100644
index 000000000..062b97107
--- /dev/null
+++ b/.env.development
@@ -0,0 +1,14 @@
+##
+# DEVELOPMENT: Default
+#
+# We're using this to set variables for our local development.
+# Please feel free to delete or modify this file for your own setup.
+# Be careful not to commit anything sensitive to source control.
+#
+
+PUBLIC_URL=/
+
+#
+# Most vars require REACT_APP_* naming
+#
+REACT_APP_CONFIG=config/default.js
diff --git a/.env.production b/.env.production
new file mode 100644
index 000000000..464ee6dc5
--- /dev/null
+++ b/.env.production
@@ -0,0 +1,14 @@
+##
+# PRODUCTION: Netlify
+#
+# We're using this to set variables for our Netlify deploy.
+# Please feel free to delete or modify this file for your own production
+# environment. Be careful not to commit anything sensitive to source control.
+#
+
+PUBLIC_URL=/demo
+
+#
+# Most vars require REACT_APP_* naming
+#
+REACT_APP_CONFIG=config/netlify.js
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 3c534e0f7..1f1409c5d 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -2,6 +2,7 @@
"recommendations": [
"esbenp.prettier-vscode",
"sysoev.language-stylus",
- "dbaeumer.vscode-eslint"
+ "dbaeumer.vscode-eslint",
+ "mikestead.dotenv"
]
}
diff --git a/docs/latest/I-want-to/script-tag.md b/docs/latest/I-want-to/script-tag.md
deleted file mode 100644
index 0f152fef8..000000000
--- a/docs/latest/I-want-to/script-tag.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Embed the viewer using a script tag
-
-
-
-## Important notes:
-
-- You must correctly specify `rootUrl` **and** the HTML `
+ bootstrap@3.3.7
+
+ Google Font @ Sanchez
+
+ fontawesome@5.7.2
+
+ react@16.8.6
+
+ react-dom@16.8.6
+
+ ohif-viewer@latest
+
+ base tagdiv
+