diff --git a/build/build-plugins.js b/build/build-plugins.js index b2d80b0220..ab56e1426c 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -8,7 +8,7 @@ const rollup = require('rollup') const path = require('path') const babel = require('rollup-plugin-babel') -const banner = require(path.resolve(__dirname, './banner.js')) +const banner = require('./banner.js') const TEST = process.env.NODE_ENV === 'test' const plugins = [ diff --git a/build/rollup.config.js b/build/rollup.config.js index 1e6d5fcebc..c8acf7a9e9 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,7 +1,7 @@ const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') -const banner = require(path.resolve(__dirname, './banner.js')) +const banner = require('./banner.js') const BUNDLE = process.env.BUNDLE === 'true'