forked from visgl/loaders.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from sensat/merge-4.1.1-master
- Loading branch information
Showing
1,075 changed files
with
13,898 additions
and
5,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
// @ts-ignore | ||
const {getBabelConfig} = require('ocular-dev-tools/configuration'); | ||
|
||
module.exports = getBabelConfig({ | ||
const config = getBabelConfig({ | ||
react: true, | ||
plugins: [ | ||
// inject __VERSION__ from package.json | ||
'version-inline' | ||
], | ||
ignore: [ | ||
// Don't transpile workers, they are transpiled separately | ||
'**/*.worker.js', | ||
'**/workers/*.js', | ||
// Don't transpile files in libs, we use this folder to store external, | ||
// already transpiled and minified libraries and scripts. | ||
// e.g. draco, basis, las-perf etc. | ||
/src\/libs/, | ||
// babel can't process .d.ts | ||
/\.d\.ts$/ | ||
], | ||
overrides: { | ||
plugins: [ | ||
// inject __VERSION__ from package.json | ||
'version-inline' | ||
], | ||
ignore: [ | ||
// Don't transpile workers, they are transpiled separately | ||
'**/*.worker.js', | ||
'**/workers/*.js', | ||
// Don't transpile files in libs, we use this folder to store external, | ||
// already transpiled and minified libraries and scripts. | ||
// e.g. draco, basis, las-perf etc. | ||
/src\/libs/, | ||
// babel can't process .d.ts | ||
/\.d\.ts$/ | ||
] | ||
}, | ||
// Set to true to print the config to console. | ||
debug: false | ||
}); | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.