forked from visgl/deck.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.
Use babel to publish source tree as before (visgl#318)
- Loading branch information
Showing
8 changed files
with
509 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dist/* | ||
dist-es6/* | ||
dist-demo/* | ||
demo/dist/* | ||
build/* | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Enables ES2015 import/export in Node.js | ||
require('reify'); | ||
|
||
// Enables import of glsl | ||
const fs = require('fs'); | ||
require.extensions['.glsl'] = function readShader(module, filename) { | ||
module.exports = fs.readFileSync(filename, 'utf8'); | ||
}; | ||
|
||
// Registers an alias for this module | ||
const path = require('path'); | ||
const moduleAlias = require('module-alias'); | ||
moduleAlias.addAlias('deck.gl', path.resolve('./dist')); | ||
|
||
require('babel-polyfill'); | ||
|
||
// Import headless luma support | ||
require('luma.gl/headless'); | ||
|
||
// Run the tests | ||
require('./index'); |
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.