Skip to content

Commit 6adc45f

Browse files
authored
fix: use .cjs extension for CommonJS files (#53)
1 parent ae2818f commit 6adc45f

File tree

6 files changed

+2695
-1434
lines changed

6 files changed

+2695
-1434
lines changed

.gulp.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"flags": {
3+
"gulpfile": "gulpfile.cjs"
4+
}
5+
}

check.js renamed to check.cjs

File renamed without changes.
File renamed without changes.

magi-p3-post.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"import './vaadin-usage-statistics-collect.js';"
99
],
1010
"to": [
11-
"\"license\": \"Apache-2.0\",\n\"scripts\": {\n\"postinstall\": \"node check.js\",\n\"disable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall\",\n\"enable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall\"\n},",
11+
"\"license\": \"Apache-2.0\",\n\"scripts\": {\n\"postinstall\": \"node check.cjs\",\n\"disable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall\",\n\"enable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall\"\n},",
1212
"export * from './vaadin-usage-statistics-collect.js';"
1313
]
1414
}

0 commit comments

Comments
 (0)