Merge pull request #3532 from BenJamesBen/esm-named-exports
fix(dev/shared): .mjs filename and named exports changes
This commit is contained in:
commit
b7fa34e4e5
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import { useState } from 'react'
|
||||||
import set from 'lodash.set'
|
import set from 'lodash.set'
|
||||||
import { useTheme } from 'shared/hooks/useTheme.mjs'
|
import { useTheme } from 'shared/hooks/useTheme.mjs'
|
||||||
// Prebuild navigation
|
// Prebuild navigation
|
||||||
import prebuildNavigation from 'site/prebuild/navigation.js'
|
import { prebuildNavigation } from 'site/prebuild/navigation.mjs'
|
||||||
|
|
||||||
export const useApp = () => {
|
export const useApp = () => {
|
||||||
// No translation for freesewing.dev
|
// No translation for freesewing.dev
|
||||||
|
|
|
@ -2,7 +2,7 @@ import yaml from 'js-yaml'
|
||||||
import { defaultGist } from 'shared/components/workbench/gist.mjs'
|
import { defaultGist } from 'shared/components/workbench/gist.mjs'
|
||||||
import { validateGist } from './gist-validator.mjs'
|
import { validateGist } from './gist-validator.mjs'
|
||||||
import { useEffect, useState, useRef } from 'react'
|
import { useEffect, useState, useRef } from 'react'
|
||||||
import Popout from 'shared/components/popout.mjs'
|
import { Popout } from 'shared/components/popout.mjs'
|
||||||
import { useTranslation } from 'next-i18next'
|
import { useTranslation } from 'next-i18next'
|
||||||
import { capitalize } from '@freesewing/core'
|
import { capitalize } from '@freesewing/core'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue