var $ = require('jquery'); var Simditor = require('simditor'); require('./../../../lib/simditor/simditor.css');
For example, in the editor Simditor, all JS files can be requested and packaged with one click, but css has to add its own path, which is very complicated.
Is there any good solution?
You can stay at
My plan is to require my own related resources in each module.
Then in other
requireWhen it does, it loads its related resources, which is called dependency chain.