mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 01:20:23 +03:00
Add type:module and convert css-to-ts.js to a module
This commit is contained in:
parent
89054e4154
commit
e22e89e465
@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
import * as fs from 'fs';
|
||||
|
||||
for (let i = 2; i < process.argv.length; i++) {
|
||||
try {
|
||||
|
@ -20,6 +20,7 @@
|
||||
"build:css-to-ts": "wireit",
|
||||
"build:sass": "wireit"
|
||||
},
|
||||
"type": "module",
|
||||
"files": [
|
||||
"**/*.js",
|
||||
"**/*.js.map",
|
||||
|
Loading…
Reference in New Issue
Block a user