Skip to content

Commit 327b7d4

Browse files
committed
update tokens scripts to mjs
1 parent 3282d87 commit 327b7d4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"build.css": "npm run css.sass && npm run css.minify",
8181
"build.debug": "npm run clean && stencil build --debug",
8282
"build.docs.json": "stencil build --docs-json dist/docs.json",
83-
"build.tokens": "npx build.tokens --config scripts/tokens/index.js && npm run prettier.tokens",
83+
"build.tokens": "npx build.tokens --config scripts/tokens/index.mjs && npm run prettier.tokens",
8484
"clean": "node scripts/clean.js",
8585
"css.minify": "cleancss -O2 -o ./css/ionic.bundle.css ./css/ionic.bundle.css",
8686
"css.sass": "sass --embed-sources --style compressed src/css:./css",

core/scripts/tokens/index.js renamed to core/scripts/tokens/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// - It also works very well out of the box with any kind of Design Tokens formats, like Figma Tokens, as well as APIs to adjust to more custom ones.
55
// - It is probably the most well-known and widely used Design Tokens tool. It has also been regularly maintained for a long time.
66
// - It can easily scale to different necessities we might have in the future.
7-
import * as utils from './utils.js';
7+
import * as utils from './utils.mjs';
88
const {
99
generateShadowValue,
1010
generateFontSizeValue,
File renamed without changes.

0 commit comments

Comments
 (0)