Closed ianjennings closed 7 years ago
You can now npm install eon-map! Webpack example:
npm install eon-map
entry.js
window.PubNub = require('pubnub'); require('eon-map'); require('mapbox.js'); require("mapbox.js/theme/style.css");
webpack.config.js
module.exports = { entry: { javascript: "./entry.js" }, output: { filename: './bundle.js' }, module: { loaders: [ { test: /\.json$/, loader: "json" }, { test: /\.css$/, loader: "style-loader!css-loader" }, { test: /\.png$/, loader: "url-loader?limit=100000" }, ] } };
You can now
npm install eon-map
! Webpack example:entry.js
webpack.config.js