Skip to content

Commit

Permalink
Remove alias
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Sep 20, 2024
1 parent a4a4e1a commit b6f8913
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 21 deletions.
4 changes: 0 additions & 4 deletions buildtools/webpack.commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,7 @@ module.exports = function (config) {
api: path.resolve(__dirname, '../api/src'),
lib: path.resolve(__dirname, '../lib'),
gmf: path.resolve(__dirname, '../src'),
jsts: 'jsts/org/locationtech/jts',
olcs: 'ol-cesium/src/olcs',
'jquery-ui/datepicker': 'jquery-ui/ui/widgets/datepicker', // For angular-ui-date
// required to make it working with types
'typeahead': 'corejs-typeahead',
},
},
optimization: {
Expand Down
10 changes: 5 additions & 5 deletions buildtools/webpack.config.dll.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ module.exports = {
$: 'jquery',
}),
],
resolve: {
alias: {
'jquery-ui/datepicker': 'jquery-ui/ui/widgets/datepicker', // For angular-ui-date
},
},
optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
}),
],
resolve: {
alias: {
'jquery-ui/datepicker': 'jquery-ui/ui/widgets/datepicker', // For angular-ui-date
},
},
sideEffects: false,
},
};
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@
"gmf": "./src",
"api": "./api/src",
"lib": "./lib",
"jsts": "jsts/org/locationtech/jts",
"olcs": "ol-cesium/src/olcs",
"jquery-ui/datepicker": "jquery-ui/ui/widgets/datepicker",
"mapillary-js/src/Mapillary": "mapillary-js/dist/mapillary.js",
"typeahead": "corejs-typeahead"
"jquery-ui/datepicker": "jquery-ui/ui/widgets/datepicker"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.4",
Expand Down
2 changes: 1 addition & 1 deletion srcapi/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {DefaultsOptions as OlInteractionDefaultsOptions} from 'ol/interaction/de
import {Options as OlControlZoomOptions} from 'ol/control/Zoom';
import OlFeature from 'ol/Feature';
import OlGeomGeometry from 'ol/geom/Geometry';
import 'typeahead';
import 'corejs-typeahead';
import {InitOptions} from 'i18next';

/**
Expand Down
7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
"gmf/*": ["src/*"],
"gmfapi/*": ["srcapi/*"],
"api/*": ["api/src/*"],
"lib/*": ["lib/*"],
"olcs/*": ["node_modules/ol-cesium/src/olcs/*"],
"mapillary-js/*": ["node_modules/mapillary-js/dist/mapillary.d.ts"],
"moment": ["node_modules/moment/moment.d.ts"],
"jsts/*": ["node_modules/@types/jsts/index.d.ts"],
"localforage/*": ["node_modules/localforage/*"]
"lib/*": ["lib/*"]
}
},
"include": ["src/**/*.js", "src/**/*.ts", "srcapi/**/*.ts", "lib/**/*.js", "api/src/**/*.js"],
Expand Down

0 comments on commit b6f8913

Please sign in to comment.