Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80763d9

Browse files
committed
use es6 in tasks/schema.mjs
1 parent 785c131 commit 80763d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tasks/schema.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
var fs = require('fs');
2-
var path = require('path');
1+
import fs from 'fs';
2+
import path from 'path';
33

4-
var constants = require('./util/constants');
5-
var plotlyNode = require('./util/plotly_node');
4+
import constants from './util/constants.js';
5+
import plotlyNode from './util/plotly_node.js';
66

77
function caseInsensitive(a, b) {
88
return a.toLowerCase().localeCompare(b.toLowerCase());

0 commit comments

Comments
 (0)