Skip to content

Commit

Permalink
fix(detect-locale): esm import not published
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio committed Jan 1, 2021
1 parent 825fd3a commit 0b7464d
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"
}

0 comments on commit 0b7464d

Please sign in to comment.