const webpack = require('webpack')
const path = require('path')
module.exports = {
  entry: './index.js',
  output: {
    filename: 'index.bundle.js'
  },
  plugins: [
    new webpack.DefinePlugin({
      'process.browser': true,
    }),
    new webpack.ProvidePlugin({
      setTimeout: path.join(__dirname, '/jxa-timeout/setTimeout'),
      clearTimeout: path.join(__dirname, '/jxa-timeout/clearTimeout'),
      setInterval: path.join(__dirname, '/jxa-timeout/setInterval'),
      clearInterval: path.join(__dirname, '/jxa-timeout/clearInterval')
    }),
  ],
  node: {
    fs: 'empty'
  }
}

@@ -221,17 +221,16 @@
 r': true
-,
 %0A    %7D),
@@ -547,17 +547,16 @@
 )%0A    %7D)
-,
 %0A  %5D,%0A  

fix style