I am trying to add newrelic agent to my nuxt application. I have installed the needed package and added my license key and set an application name in `newrelic.js` configuration file:

```
npm i newrelic
cp node_modules/newrelic/newrelic.js .
nano newrelic.js

```

My problem is that I also need to require this configuration file at the top of my `server.js` file and since this file is dynamically created and placed under the `.nuxt` folder I have no idea how to do this.

In a standard nodejs application I would simply add the `require('newrelic');` to the top of my startup script or perhaps add a new script entry in `package.json` looking something like this:

```
"scripts": {
  "dev": "node -r newrelic.js app.js"
}

```