codemirror
codemirror copied to clipboard
Caniuse data should be optional
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.