Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Upgrade to webpack v2 and ES6 #7

Open
achimnol opened this issue Feb 7, 2017 · 0 comments
Open

Upgrade to webpack v2 and ES6 #7

achimnol opened this issue Feb 7, 2017 · 0 comments

Comments

@achimnol
Copy link
Member

achimnol commented Feb 7, 2017

It's 2017.

achimnol added a commit that referenced this issue Feb 7, 2017
 * Now we use "yarn" instead of "npm".

   - yarn.lock file is automatically updated when you run
     yarn commands.

 * Applied babel-loader and now we can write clean ES6 codes
   which are transpiled into ES5.

 * Imported SornaWebterm from interal front-end code and
   transformed it using ES6-style.

   - Sorna.Webterm and its dependencies are now loaded
     only when required.  Use Sorna.loadWebterm() and its
     returning Promise in your code.

 * Bumped JS-side version to 0.9 to match with Sorna version.
achimnol added a commit that referenced this issue Feb 7, 2017
achimnol added a commit that referenced this issue Feb 8, 2017
achimnol added a commit that referenced this issue Feb 9, 2017
 * It's actually browserified Writable provided by webpack.
achimnol added a commit that referenced this issue Feb 11, 2017
 * Include xterm.css into a part of webpack bundle.
   No additional <link> tags are required; it's automatically imported
   when doing `Sorna.loadWebterm();`

 * Modified xterm.css to make it more vibrant and readable.

 * Update README and webpack configs so that you can use `yarn run ...`
   to run pre-configured build/devserver commands using the local
   node_modules directory.

 * Resetting kernel no longer duplicates keypress events.

 * Now the terminal handles CJK and English input/output correctly.
   (tested only on Chrome)
achimnol added a commit that referenced this issue Feb 13, 2017
 * To cope with non-webpack-compatible build processes, imported
   xterm.js and fabric.js into our own "vendor" directory.

   - fabric.js is downloaded from the official customized builder
     (http://fabricjs.com/build/) and slightly modified to remove
     extra "reuqire()" calls that confuse webpack.

   - xterm.js is built from our fork (https://github.com/lablup/xterm.js)
     and the color scheme in xterm.css is modified to match our flavor.

   - In our fork of xterm.js, we have patched non-IME character inputs
     for macOS/iOS Safari.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant