Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

vuepress version 1.0.0-alpha.48 breaks plugin #10

@songololo

Description

@songololo

The latest version of vuepress@next breaks vuepress-plugin-mathjax, giving the following errors in the console:

Uncaught Error: Module build failed (from ./node_modules/postcss-loader/src/index.js):
SyntaxError

(913:9) Unknown word

 �[90m 911 | �[39m  position�[33m:�[39m absolute�[33m;�[39m
 �[90m 912 | �[39m  font-family�[33m:�[39m MJXZERO�[33m;�[39m
�[31m�[1m>�[22m�[39m�[90m 913 | �[39m  white space�[33m:�[39m nowrap�[33m;�[39m
 �[90m     | �[39m        �[31m�[1m^�[22m�[39m
 �[90m 914 | �[39m  height�[33m:�[39m 1px�[33m;�[39m
 �[90m 915 | �[39m  width�[33m:�[39m 1px�[33m;�[39m

    at eval (cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/@vuepress/core/.temp/plugins-mathjax.css:1)
    at Object../node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/@vuepress/core/.temp/plugins-mathjax.css (app.js:1499)
    at __webpack_require__ (app.js:767)
    at fn (app.js:130)
    at eval (plugins-mathjax.css?9492:4)
    at Object../node_modules/@vuepress/core/.temp/plugins-mathjax.css (app.js:1070)
    at __webpack_require__ (app.js:767)
    at fn (app.js:130)
    at eval (enhanceApp.js?0708:1)
    at Module../node_modules/vuepress-plugin-mathjax/src/enhanceApp.js (app.js:1854)

and

./node_modules/@vuepress/core/.temp/plugins-mathjax.css (./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/@vuepress/core/.temp/plugins-mathjax.css)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
SyntaxError

(913:9) Unknown word

  911 |   position: absolute;
  912 |   font-family: MJXZERO;
> 913 |   white space: nowrap;
      |         ^
  914 |   height: 1px;
  915 |   width: 1px;

Adding (i.e. forcing downgrade to) vuepress/core@v1.0.0-alpha.47 fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions