@aquera/nile-elements 0.1.75-beta-1.0 → 0.1.75-beta-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/index.js +1 -1
- package/package.json +1 -1
- package/rollup.config.js +3 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function e(e,t,M,i){var N,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,M):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,M,i);else for(var n=e.length-1;n>=0;n--)(N=e[n])&&(s=(o<3?N(s):o>3?N(t,M,s):N(t,M))||s);return o>3&&s&&Object.defineProperty(t,M,s),s}"function"==typeof SuppressedError&&SuppressedError;
|
|
1
|
+
function e(e,t,M,i){var N,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,M):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,M,i);else for(var n=e.length-1;n>=0;n--)(N=e[n])&&(s=(o<3?N(s):o>3?N(t,M,s):N(t,M))||s);return o>3&&s&&Object.defineProperty(t,M,s),s}window.NILE_ELEMENTS="0.1.75-beta-1.1","function"==typeof SuppressedError&&SuppressedError;
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2019 Google LLC
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent nile-elements following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "nile-elements",
|
|
6
|
-
"version": "0.1.75-beta-1.
|
|
6
|
+
"version": "0.1.75-beta-1.1",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"module": "dist/src/index.js",
|
package/rollup.config.js
CHANGED
|
@@ -10,6 +10,7 @@ import path from 'node:path';
|
|
|
10
10
|
import { fileURLToPath } from 'node:url';
|
|
11
11
|
import commonjs from '@rollup/plugin-commonjs';
|
|
12
12
|
import styles from 'rollup-plugin-styles';
|
|
13
|
+
import pkg from './package.json' assert { type: 'json' };
|
|
13
14
|
|
|
14
15
|
const { LERNA_PACKAGE_NAME } = process.env;
|
|
15
16
|
const PACKAGE_ROOT_PATH = process.cwd();
|
|
@@ -92,6 +93,7 @@ export default [
|
|
|
92
93
|
format: 'es',
|
|
93
94
|
sourcemap: false,
|
|
94
95
|
inlineDynamicImports: true,
|
|
96
|
+
intro: `window.NILE_ELEMENTS = "${pkg.version}";`
|
|
95
97
|
},
|
|
96
98
|
|
|
97
99
|
external: [],
|
|
@@ -106,4 +108,4 @@ export default [
|
|
|
106
108
|
terser(),
|
|
107
109
|
],
|
|
108
110
|
},
|
|
109
|
-
];
|
|
111
|
+
];
|