@tinacms/scripts 1.1.6 → 1.2.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -312,6 +312,12 @@ var buildIt = async (entryPoint, packageJSON) => {
312
312
  sourcemap: false,
313
313
  // true | 'inline' (note: inline will go straight into your bundle size)
314
314
  rollupOptions: {
315
+ onwarn(warning, warn) {
316
+ if (warning.code === "MODULE_LEVEL_DIRECTIVE") {
317
+ return;
318
+ }
319
+ warn(warning);
320
+ },
315
321
  // /**
316
322
  // * FIXME: rollup-plugin-node-polyfills is only needed for node targets
317
323
  // */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/scripts",
3
- "version": "1.1.6",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -20,7 +20,7 @@
20
20
  "esbuild": "^0.15.5",
21
21
  "fs-extra": "^9.0.1",
22
22
  "tsup": "^8.1.2",
23
- "typescript": "^5.5.3",
23
+ "typescript": "^5.5.4",
24
24
  "vite": "^4.3.9"
25
25
  },
26
26
  "scripts": {