Skip to content

Commit

Permalink
make all from root
Browse files Browse the repository at this point in the history
  • Loading branch information
atlmtw committed Aug 5, 2021
1 parent 6d98556 commit 902870f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"presets": [
["@babel/preset-env", {"debug" : true}]
["@babel/preset-env", {
"debug" : true
}]
],
"plugins": [
["module-resolver", {
"root": ["./src"],
"root" : ["./src"],
"alias": {
"lib/": "./src/lib/*",
"shaders/": "./src/shaders/*"
"lib": "./lib",
"shaders": "./shaders"
}
}]
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"uglify-js": "^3.10.0"
},
"scripts": {
"build": "npx babel src --out-dir dist",
"start": "npx babel src --watch --out-dir dist",
"build": "npx babel src/** --out-dir dist",
"start": "npx babel src/** --watch --out-dir dist",
"test-2d": "budo test/test-2d.js:bundle.js --dir test --live",
"test-3d": "budo test/test-3d.js:bundle.js --dir test --live",
"test-multi": "budo test/test-multi.js:bundle.js --dir test --live",
Expand Down

0 comments on commit 902870f

Please sign in to comment.