Skip to content

Commit

Permalink
fix(detect-locale): ESM import not published (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
semoal committed Jan 6, 2021
1 parent 6c9a697 commit 4ad90d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/detect-locale/npm/esm/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import detectLocaleModule from '../index.js'

export const detect = detectLocaleModule.detect
export const multipleDetect = detectLocaleModule.multipleDetect
export const fromCookie = detectLocaleModule.fromCookie
export const fromHtmlTag = detectLocaleModule.fromHtmlTag
export const fromNavigator = detectLocaleModule.fromNavigator
export const fromPath = detectLocaleModule.fromPath
export const fromStorage = detectLocaleModule.fromStorage
export const fromSubdomain = detectLocaleModule.fromSubdomain
export const fromUrl = detectLocaleModule.fromUrl
3 changes: 3 additions & 0 deletions packages/detect-locale/npm/esm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}

1 comment on commit 4ad90d4

@vercel
Copy link

@vercel vercel bot commented on 4ad90d4 Jan 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.