@maizzle/framework 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
const fm = require('front-matter')
|
|
2
2
|
const {get, merge} = require('lodash')
|
|
3
3
|
const posthtml = require('../posthtml')
|
|
4
|
-
const Tailwind = require('../tailwindcss')
|
|
5
4
|
const Transformers = require('../../transformers')
|
|
6
|
-
const
|
|
5
|
+
const Tailwind = require('../tailwindcss')
|
|
7
6
|
const Config = require('../config')
|
|
8
7
|
|
|
9
8
|
module.exports = async (html, options) => {
|
|
@@ -60,8 +59,6 @@ module.exports = async (html, options) => {
|
|
|
60
59
|
html = await options.afterTransformers(html, config)
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
html = await posthtmlMSO(html, config)
|
|
64
|
-
|
|
65
62
|
return {
|
|
66
63
|
html,
|
|
67
64
|
config
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
const inline = require('./inlineCss')
|
|
2
1
|
const minify = require('./minify')
|
|
3
2
|
const filters = require('./filters')
|
|
3
|
+
const inline = require('./inlineCss')
|
|
4
4
|
const markdown = require('./markdown')
|
|
5
5
|
const prettify = require('./prettify')
|
|
6
6
|
const ensureSixHEX = require('./sixHex')
|
|
7
7
|
const applyBaseUrl = require('./baseUrl')
|
|
8
|
+
const posthtmlMSO = require('./posthtmlMso')
|
|
8
9
|
const addURLParams = require('./urlParameters')
|
|
9
10
|
const preventWidows = require('./preventWidows')
|
|
10
11
|
const replaceStrings = require('./replaceStrings')
|
|
@@ -35,6 +36,7 @@ exports.process = async (html, config) => {
|
|
|
35
36
|
html = await applyBaseUrl(html, config)
|
|
36
37
|
html = await addURLParams(html, config)
|
|
37
38
|
html = await ensureSixHEX(html, config)
|
|
39
|
+
html = await posthtmlMSO(html, config)
|
|
38
40
|
html = await prettify(html, config)
|
|
39
41
|
html = await minify(html, config)
|
|
40
42
|
html = await replaceStrings(html, config)
|