We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: Using Asciidoctor's Kroki extension with Webpackv4 results in the following error
How to Reproduce:
Make a React-App
Add the following dependencies to packages.json: "asciidoctor": "^2.2.5", "asciidoctor-kroki": "^0.15.4", "highlight.js": "11.4.0", "sanitize-html": "2.6.1", "webpack": "^4.0.0"
Add AsciiDoctor.jsx to your project
Import AsciiDoctor into App.jsx and use it as
npm start: You will see the issue
Repo: https://github.com/lord-pendragon/ascii-krokii-webpack-issue
The text was updated successfully, but these errors were encountered:
Line 29 in dist/browser/asciidoctor-kroki.js is an empty line: https://github.com/Mogztter/asciidoctor-kroki/blob/dd6b5708d87a60166fc8c0e018a12b5c026aac02/dist/browser/asciidoctor-kroki.js#L29
dist/browser/asciidoctor-kroki.js
I can reproduce this issue using the following steps:
npx create-react-app asciidoctor-kroki-react-scripts
cd asciidoctor-kroki-react-scripts
npm i @asciidoctor/[email protected] [email protected]
src/App.js
import Asciidoctor from '@asciidoctor/core' import kroki from 'asciidoctor-kroki'
npm start
Having said that, I have absolutely no idea how to solve this issue since the error message does not help. You should probably ask the Webpack team:
Sorry, something went wrong.
That's a shame, will raise this with the Web-pack Team, can close the issue if you wish to do so. Will inform on any updates from Web-pack devs.
Thanks, I will keep this issue open until we found the root cause.
@lord-pendragon Feel free to link this issue if there's a corresponding GitHub issue upstream.
No branches or pull requests
Description: Using Asciidoctor's Kroki extension with Webpackv4 results in the following error
How to Reproduce:
Make a React-App
Add the following dependencies to packages.json:
"asciidoctor": "^2.2.5",
"asciidoctor-kroki": "^0.15.4",
"highlight.js": "11.4.0",
"sanitize-html": "2.6.1",
"webpack": "^4.0.0"
Add AsciiDoctor.jsx to your project
Import AsciiDoctor into App.jsx and use it as
npm start: You will see the issue
Repo: https://github.com/lord-pendragon/ascii-krokii-webpack-issue
The text was updated successfully, but these errors were encountered: