How to resolve 'grafana/app/plugins/sdk' with grunt and grunt-webpack

Grunt/webpack cant resolve this

webpack: {
  js: {
    target: 'node',
    context: path.resolve('src'),
    entry: "./module.js",
    output: {
      path: path.resolve('dist'),
      libraryTarget: 'amd'

in module.js :
import { PanelCtrl } from ‘grafana/app/plugins/sdk’;

ERROR in ./src/module.js
Module not found: Error: Can’t resolve ‘grafana/app/plugins/sdk’ in ‘D:\x157703\dev\workspace\grafana\plugin\grafana-webpack-mxgraph\src’
@ ./src/module.js 1:0-52

How to resolve it ?

you should mark them as external

ok, i’ll try it.
thanks for your answer