summaryrefslogtreecommitdiff
path: root/examples/subpath
diff options
context:
space:
mode:
Diffstat (limited to 'examples/subpath')
-rw-r--r--examples/subpath/.gitignore17
-rw-r--r--examples/subpath/.npmrc2
-rw-r--r--examples/subpath/.stackblitzrc6
-rw-r--r--examples/subpath/tsconfig.json5
4 files changed, 30 insertions, 0 deletions
diff --git a/examples/subpath/.gitignore b/examples/subpath/.gitignore
new file mode 100644
index 000000000..c82467453
--- /dev/null
+++ b/examples/subpath/.gitignore
@@ -0,0 +1,17 @@
+# build output
+dist
+
+# dependencies
+node_modules/
+
+# logs
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# environment variables
+.env
+.env.production
+
+# macOS-specific files
+.DS_Store
diff --git a/examples/subpath/.npmrc b/examples/subpath/.npmrc
new file mode 100644
index 000000000..0cc653b2c
--- /dev/null
+++ b/examples/subpath/.npmrc
@@ -0,0 +1,2 @@
+## force pnpm to hoist
+shamefully-hoist = true \ No newline at end of file
diff --git a/examples/subpath/.stackblitzrc b/examples/subpath/.stackblitzrc
new file mode 100644
index 000000000..43798ecff
--- /dev/null
+++ b/examples/subpath/.stackblitzrc
@@ -0,0 +1,6 @@
+{
+ "startCommand": "npm start",
+ "env": {
+ "ENABLE_CJS_IMPORTS": true
+ }
+} \ No newline at end of file
diff --git a/examples/subpath/tsconfig.json b/examples/subpath/tsconfig.json
new file mode 100644
index 000000000..8e881cf9c
--- /dev/null
+++ b/examples/subpath/tsconfig.json
@@ -0,0 +1,5 @@
+{
+ "compilerOptions": {
+ "moduleResolution": "node"
+ }
+}