-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area/buildRegarding the build processRegarding the build processtype/enhancementFeatures or improvements to existing featuresFeatures or improvements to existing features
Milestone
Description
When I follow the doc to import Terminal as an ES6 module.
The recommended way to load xterm.js is via the ES6 module syntax:
import { Terminal } from 'xterm';
I got the following error. I opened the xterm.js and found it's an minified js file and it indeed didn't export Terminal.
The requested module '../../../node_modules/xterm/lib/xterm.js' does not provide an export named 'Terminal'
I'm not using any building tools. I just used plain ES6 import syntax.
justinfagnani, SimonSiefke, TomzBench, AdamSimpson, hankchiutw and 8 more
Metadata
Metadata
Assignees
Labels
area/buildRegarding the build processRegarding the build processtype/enhancementFeatures or improvements to existing featuresFeatures or improvements to existing features