-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
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
npm package #1185
Comments
Is the |
The npm install highlightjs
cd node_modules/highlightjs/
make |
The npm package should contain the pre-built (default) distribution files. Anything custom should be done via Git & build. In an effort to make npm packages as lightweight as possible, it is common not to bundle the build files & scripts. |
This -rw-r--r-- 1 frost frost 65 Aug 5 2015 .npmignore
-rw-r--r-- 1 frost frost 1498 Aug 5 2015 LICENSE
-rw-r--r-- 1 frost frost 543 Aug 5 2015 Makefile <--------
-rw-r--r-- 1 frost frost 320 Aug 5 2015 README.md
-rw-r--r-- 1 frost frost 204 Aug 5 2015 bower.json
-rw-r--r-- 1 frost frost 212 Aug 5 2015 component.json
-rw-r--r-- 1 frost frost 669 Aug 5 2015 composer.json
-rw-r--r-- 1 frost frost 595102 Aug 5 2015 highlight.pack.js
-rw-r--r-- 1 frost frost 401788 Aug 5 2015 highlight.pack.min.js
-rw-r--r-- 1 frost frost 1367 May 23 17:27 package.json
drwxr-xr-x 2 frost frost 1400 May 23 17:27 styles |
Sure. I'd suggest to remove it entirely and jsut distribute fully working pre-built version of highlight.js. |
Guys, we don't have a Makefile in our package. @wifiextender you're using some third-party bundle of highlight.js, I guess this one. |
It's bit confusing as I saw your avatar right below the npm package Collaborators, didn't knew that highlightjs is not uploaded by you, and highlight**.**js is your package. |
The npm package has wrong
Makefile
configuration:Old configuration:
The new one:
If you want you can add cdn and browser builds.
The text was updated successfully, but these errors were encountered: