-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update configuration to create-plugin 4.15.0
- Loading branch information
1 parent
4b9abec
commit 56848f4
Showing
7 changed files
with
516 additions
and
612 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "4.12.0" | ||
"version": "4.15.0" | ||
} |
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,17 @@ | ||
/* | ||
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️ | ||
* | ||
* This file dynamically sets the public path at runtime based on the location of the plugin's AMD module. | ||
* It relies on the magic `module` which is defined by the AMD loader. | ||
* https://github.com/requirejs/requirejs/wiki/Differences-between-the-simplified-CommonJS-wrapper-and-standard-AMD-define#module | ||
* | ||
* We fallback to the plugin root so that older versions of Grafana will continue to load the plugin correctly. | ||
*/ | ||
|
||
// @ts-nocheck | ||
import amdMetaModule from 'amd-module'; | ||
|
||
__webpack_public_path__ = | ||
amdMetaModule && amdMetaModule.uri | ||
? amdMetaModule.uri.slice(0, amdMetaModule.uri.lastIndexOf('/') + 1) | ||
: 'public/plugins/heywesty-trafficlight-panel/'; |
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
Oops, something went wrong.