Skip to content

Commit

Permalink
Merge pull request #17
Browse files Browse the repository at this point in the history
feature/entry-file-renaming
  • Loading branch information
Stassi authored Sep 17, 2024
2 parents 74016df + 02548cb commit 6a249ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stassi/leaf",
"version": "0.0.16",
"version": "0.0.17",
"private": true,
"description": "Leaflet adapter.",
"keywords": [
Expand All @@ -16,16 +16,16 @@
"license": "MPL-2.0",
"author": "Andreas Stassivik <[email protected]>",
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": "./dist/leaf.js",
"types": "./dist/leaf.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c rollup.config.ts --configPlugin typescript",
"postbuild": "npm run import:all && npm run lint",
"import:all": "npm run import:leaf && npm run import:leaflet && npm run import:leaflet:fullscreen",
"preimport:leaf": "shx mkdir -p public/leaf",
"preimport:leaf": "shx mv dist/index.d.ts dist/leaf.d.ts && shx mkdir -p public/leaf",
"import:leaf": "shx cp -r dist/* public/leaf",
"preimport:leaflet": "shx mkdir -p public/leaflet",
"import:leaflet": "shx cp -r node_modules/leaflet/dist/* public/leaflet",
Expand Down
2 changes: 1 addition & 1 deletion public/tutorial/quick-start/script/quick-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
polygon,
popup,
tileLayerOsm,
} from '../../../leaf/index.js'
} from '../../../leaf/leaf.js'

// noinspection JSUnusedGlobalSymbols
const map = leafletMap({
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const rollupConfig: RollupOptions = {
input: 'src/index.ts',
output: [
{
file: 'dist/index.js',
file: 'dist/leaf.js',
format: 'esm',
sourcemap: true,
},
Expand Down

0 comments on commit 6a249ec

Please sign in to comment.