Skip to content

Commit

Permalink
highlight.js: Fix CSS import
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Apr 6, 2022
1 parent 2bcc27e commit 6698214
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion app/modifiers/highlight-syntax.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { modifier } from 'ember-modifier';
import hljs from 'highlight.js/lib/core';
import 'highlight.js/styles/github.css';
import bash from 'highlight.js/lib/languages/bash';
import c from 'highlight.js/lib/languages/c';
import cpp from 'highlight.js/lib/languages/cpp';
Expand Down
1 change: 1 addition & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = function (defaults) {
});

app.import('node_modules/normalize.css/normalize.css', { prepend: true });
app.import('node_modules/highlight.js/styles/github.css');
app.import('vendor/qunit.css', { type: 'test' });

const { Webpack } = require('@embroider/webpack');
Expand Down

0 comments on commit 6698214

Please sign in to comment.