Package Exports
- posthtml-standard-sequence
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (posthtml-standard-sequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
standard-sequence
Standard sequence for configuration posthtml plugins, sorts the configuration file based on the internal configurator
DEPRECATED, recommended to use post-sequence
standard sequence based configuration
{
"include": {
"priority": 998
},
"modules": {
"priority": 999
}
}Install
npm i -D posthtml-standard-sequenceNote: This project is compatible with node v4+
Usage
import sequence from 'posthtml-standard-sequence';
const configuration = {
"bem": {
"elemPrefix": "__",
"modPrefix": "-",
"modDlmtr": "--"
},
"include": {
"root": "./",
"encoding": "utf-8"
},
"styleToFile": {
"path": "./dist/style.css"
}
}
sequence(configuration)
// return ==> {"include": {...}, "bem": {...}, "styleToFile": {...}}