cannot intergrate Locales plugin using browserify

Started by hihahihahoho0 replies1,141 views
hihahihahohoOriginal post
#1

This is my code file app.js
require(‘es6-promise/auto’)
require(‘whatwg-fetch’)
window.Uppy = {}
Uppy.Core = require(’@uppy/core’)
Uppy.Tus = require(’@uppy/tus’)
Uppy.Dashboard = require(’@uppy/dashboard’)
Uppy.Vietnamese = require(’@uppy/locales/lib/vi_VN’)
Every other plugins work fine except the locales plugin, it shows this error:

External image (https://user-images.githubusercontent.com/29968144/104398248-f2a4e600-5580-11eb-8074-702f5445d45b.png)