diff --git a/webpack.demo.config.js b/webpack.demo.config.js
index <HASH>..<HASH> 100644
--- a/webpack.demo.config.js
+++ b/webpack.demo.config.js
@@ -28,7 +28,7 @@ module.exports = function(directory) {
       rules: [
         {
           test: /\.jsx?$/,
-          exclude: 'node-modules/',
+          exclude: /node_modules/,
           use: [
             { loader: 'babel-loader' },
             { loader: path.resolve(__dirname, './scripts/html-pre-tag-loader') }
fix exclude in webpack demo config