-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use yarn * fix: update to latest Grafana * chore: use yarn on CI * fix: use yarn on Makefile * fix: 2.32.0 version * chore: remove node matrix * deps: [email protected] * fix: ButtonProps Co-authored-by: Alex Tymchuk <[email protected]>
- Loading branch information
1 parent
dcc3a83
commit 8d63972
Showing
20 changed files
with
15,677 additions
and
55,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const fs = require('fs'); | ||
|
||
const FILE = './node_modules/@grafana/toolkit/src/config/webpack/loaders.js'; | ||
|
||
const fileContent = fs.readFileSync(FILE, { encoding: 'utf-8' }); | ||
|
||
if (fileContent && !fileContent.includes('math: "always"')) { | ||
const result = fileContent.replace('javascriptEnabled: true', 'javascriptEnabled: true, math: "always"'); | ||
|
||
fs.writeFileSync(FILE, result, { encoding: 'utf-8' }); | ||
} |
Oops, something went wrong.