-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Reproduction: https://stackblitz.com/edit/vitejs-vite-1axycb?file=main.js
Its currently possible to do import { join } from 'path'
or import { posix } from 'path'
but not these:
import { join } from 'path/posix';
import { join } from 'node:path/posix';
Error:
Failed to load url /node_modules/path-browserify/posix (resolved id: /home/projects/vitejs-vite-1axycb/node_modules/path-browserify/posix) in /home/projects/vitejs-vite-1axycb/main.js. Does the file exist?
(Not sure if that is the correct repo to report it to or https://github.com/niksy/node-stdlib-browser)
jlarmstrongiv