-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
import { AppPlugin } from '@grafana/data'; | ||
import { App } from 'Components/App'; | ||
import init from '@bsull/augurs'; | ||
|
||
// eslint-disable-next-line no-console | ||
init().then(() => console.debug('Grafana ML initialized')); | ||
|
||
export const plugin = new AppPlugin<{}>().setRootPage(App); |
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,15 @@ | ||
import type { Configuration } from 'webpack'; | ||
import { merge } from 'webpack-merge'; | ||
import grafanaConfig from './.config/webpack/webpack.config'; | ||
|
||
const config = async (env): Promise<Configuration> => { | ||
const baseConfig = await grafanaConfig(env); | ||
return merge(baseConfig, { | ||
experiments: { | ||
// Required to load WASM modules. | ||
asyncWebAssembly: true, | ||
}, | ||
}); | ||
}; | ||
|
||
export default config; |
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