.js --> .mjs

This commit is contained in:
RMidhunSuresh 2022-07-19 14:52:53 +05:30
parent dece42dce3
commit 081de5afa8
3 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ limitations under the License.
import {readFileSync, mkdirSync, writeFileSync} from "fs";
import {resolve} from "path";
import {h32} from "xxhashjs";
import {getColoredSvgString} from "./svg-colorizer.js";
import {getColoredSvgString} from "./svg-colorizer.mjs";
function createHash(content) {
const hasher = new h32(0);

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import type {Platform} from "./Platform.js";
import {getColoredSvgString} from "../../../scripts/postcss/svg-colorizer.js";
import {getColoredSvgString} from "../../../scripts/postcss/svg-colorizer.mjs";
type ParsedStructure = {
[variableName: string]: {