fix(): use esm import since upgrade to V3
This commit is contained in:
parent
6fe50850fd
commit
30b122f57c
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
export default {
|
||||
random() {
|
||||
const segment = () => {
|
||||
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
export default {
|
||||
getNextHeadingLevel(currentLevel) {
|
||||
return parseInt(currentLevel, 10) + 1;
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
const tokens = require('./tokens.json');
|
||||
import tokens from './tokens.json' with { type: "json" };
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
colors() {
|
||||
let response = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user