Skip to content

Commit

Permalink
Fix gallery examples (#2958)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 12, 2019
1 parent fabaa02 commit ee0ddb8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/gallery/build-tools/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (!MAPBOX_TOKEN) {
}
/* eslint-enable */

const LOCAL_BUNDLE = path.resolve(__dirname, '../../../modules/main/dist.js');
const LOCAL_BUNDLE = path.resolve(__dirname, '../../../modules/main/dist/dist.dev.js');

module.exports = {
INPUT_DIR,
Expand Down
4 changes: 2 additions & 2 deletions examples/gallery/src/point-cloud-layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

new DeckGL({
views: [new OrbitView()],
viewState: {fov: 50, distance: 10, rotationX: 45, rotationOrbit: 45, zoom: 1},
viewState: {rotationX: -45, rotationOrbit: -45, zoom: 5},
layers: [
new PointCloudLayer({
id: 'pointCloud',
Expand All @@ -74,7 +74,7 @@
getPosition: d => d.position,
getNormal: d => d.normal,
getColor: d => d.color,
radiusPixels: 10
radiusPixels: 1
})
]
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/bundle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = (env = {}) => {
// Set development mode (no minification)
config.mode = 'development';
// Remove .min from the name
config.output.filename = 'dist/dist.js';
config.output.filename = 'dist/dist.dev.js';
// Disable transpilation
config.module.rules = [];
}
Expand Down

0 comments on commit ee0ddb8

Please sign in to comment.