codemirror icon indicating copy to clipboard operation
codemirror copied to clipboard

Caniuse data should be optional

Open ju1ius opened this issue 10 years ago • 0 comments

ATM the only way to build the plugin without caniuse data is to patch emmet.js

import emmet from 'emmet';
import 'emmet/bundles/snippets';
// -- commented out
//import 'emmet/bundles/caniuse';

export default emmet;

Caniuse data is quite large and makes little sense in a web-based editor like codemirror. So we should have a way to opt-out and cut-down the bundle size by half.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ju1ius avatar Nov 08 '15 14:11 ju1ius