mirror of
https://github.com/jlengrand/leaflet-geosearch.git
synced 2026-03-10 08:31:26 +00:00
14 lines
367 B
JavaScript
14 lines
367 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const path = require('path');
|
|
|
|
exports.onCreateWebpackConfig = (args) => {
|
|
args.actions.setWebpackConfig({
|
|
resolve: {
|
|
modules: [path.resolve(__dirname, '../docs'), 'node_modules'],
|
|
alias: {
|
|
'leaflet-geosearch': path.resolve(__dirname, '../dist/geosearch.js'),
|
|
},
|
|
},
|
|
});
|
|
};
|