const {Runtime} = require('@parcel/plugin');
const path = require('path');

module.exports = new Runtime({
  apply() {
    return [{
      filePath: path.resolve(__dirname, '../../MockRuntime.js'),
      code: `let x = require('./dynamic-runtime'); console.log(x);`,
      isEntry: true
    }]
  }
});
