mapwhizz 1.0.1 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.cjs ADDED
@@ -0,0 +1,22 @@
1
+ import resolve from '@rollup/plugin-node-resolve';
2
+ import commonjs from '@rollup/plugin-commonjs';
3
+ import { babel } from '@rollup/plugin-babel';
4
+
5
+ export default {
6
+ input: 'src/index.js', // Entry point of your library
7
+ output: [
8
+ {
9
+ file: 'dist/main.cjs', // CommonJS build
10
+ format: 'cjs',
11
+ },
12
+ {
13
+ file: 'dist/module.js', // ES module build
14
+ format: 'es',
15
+ },
16
+ ],
17
+ plugins: [
18
+ resolve(), // Resolves node_modules
19
+ commonjs(), // Converts CommonJS to ES modules
20
+ babel({ babelHelpers: 'bundled' }), // Transpiles modern JS
21
+ ],
22
+ };
package/dist/module.js ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapwhizz",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "\"# mapwhizz\"",
5
5
  "main": "index.js",
6
6
  "scripts": {