Closed jonyrock closed 5 years ago
@rozetko @amper43 such config works good for development, not production. https://github.com/CorpGlory/grafana-data-exporter/blob/master/build/webpack.base.conf.js#L24
externals: [
function(context, request, callback) {
if(request[0] == '.') {
callback();
} else {
callback(null, "require('" + request + "')");
}
}
],
but you keep in in base
config
from production. https://github.com/CorpGlory/grafana-data-exporter/wiki/Getting-Started-Linux ,
grafana-data-exporter-0.3.3
I run
$ node dist/server.js
and get error: