javascript - Webpack: 'bindings is not defined' -


i'm building application nodejs (server) , reactjs (client).. fine, have problem webpack.. after run webpack have error in browser console:

uncaught referenceerror: bindings not defined

i've got no idea issue.. ?

here webpack config:

var extracttextplugin = require('extract-text-webpack-plugin') var webpack = require('webpack')  module.exports = {   entry: [     'babel-polyfill',     './src/client/index.js'   ],   devtool: 'source-map',   output: {     path: './src/static/js/',     filename: 'bundle.js'   },   module: {     loaders: [{       exclude: /node_modules/,       loader: 'babel-loader',       query: {         presets: ['react', 'es2015', 'stage-1']       }     }, {       test: /\.scss$/,       loader: extracttextplugin.extract('css!sass')     }, {       test: /\.json$/,       loader: "json-loader"     }],     noparse: /lie\.js$|\/leveldown\//   },   node: {     net: 'empty',     fs: 'empty',     dns: 'empty'   },   resolve: {     extensions: ['', '.js', '.jsx']   },   plugins: [     new extracttextplugin('../css/style.css', {       allchunks: true     }),     new webpack.contextreplacementplugin(/bindings$/, /^$/)   ],   externals: ["bindings"] } 


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -