0.28.0 • Published 2 years ago

@here/harp-webpack-utils v0.28.0

Weekly downloads
41
License
Apache-2.0
Repository
github
Last release
2 years ago

Harp.gl Webpack Utilities

Usage

Install the webpack utilities into your project:

npm install --save-dev @here/harp-webpack-utils

Add the following lines to your webpack.config.js:

const { addHarpWebpackConfig } = require("@here/harp-webpack-utils/scripts/HarpWebpackConfig");
const myConfig = {};
module.exports = addHarpWebpackConfig(
    myConfig,
    { mainEntry: "./index.js", decoderEntry: "./harp-gl-decoders.js", htmlTemplate: "./index.html" }
);

myConfig is your existing Webpack configuration. Configuration values in myConfig will override any values generated by addHarpWebpackConfig. ./index.js is the path to your main application code. Will be used as the entry point for the main application bundle. May be omitted if Webpack entry configuration is included in myConfig. ./harp-gl-decoders.js is the path to your decoder service. Will be used as the entry point for the web worker decoder bundle. If omitted no decoder bundle will be created. ./index.html is the path to your HTML template index page. May be omitted if HTML configuration is included in myConfig.

0.28.0

2 years ago

0.27.1

3 years ago

0.27.0

3 years ago

0.26.0

3 years ago

0.25.0

3 years ago

0.24.0

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

4 years ago

0.20.4

4 years ago

0.20.3

4 years ago

0.20.0

4 years ago

0.19.0

4 years ago

0.18.0

4 years ago

0.17.2

4 years ago

0.17.0

4 years ago

0.15.0

4 years ago

0.16.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago