Skip to content

Commit

Permalink
Remove aliasing of @luma.gl/addons in examples (#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed Apr 5, 2019
1 parent 03af631 commit 8d4bc82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/webpack.config.local.js
Expand Up @@ -32,8 +32,9 @@ function makeLocalDevConfig(EXAMPLE_DIR = LIB_DIR, linkToLuma) {
'@luma.gl/webgl': `${ROOT_DIR}/node_modules/@luma.gl/webgl`,
'@luma.gl/webgl-state-tracker': `${ROOT_DIR}/node_modules/@luma.gl/webgl-state-tracker`,
'@luma.gl/webgl2-polyfill': `${ROOT_DIR}/node_modules/@luma.gl/webgl2-polyfill`,
'@luma.gl/shadertools': `${ROOT_DIR}/node_modules/@luma.gl/shadertools`,
'@luma.gl/addons': `${ROOT_DIR}/node_modules/@luma.gl/addons`
'@luma.gl/shadertools': `${ROOT_DIR}/node_modules/@luma.gl/shadertools`
// @luma.gl/addons is not available in the root node_modules, must be imported
// where required.
};

const LUMA_ALIASES = linkToLuma ? LUMA_LINK_ALIASES : LUMA_LOCAL_ALIASES;
Expand Down

0 comments on commit 8d4bc82

Please sign in to comment.