diff --git a/webpack.config.lib.es5.js b/webpack.config.lib.es5.js
index <HASH>..<HASH> 100644
--- a/webpack.config.lib.es5.js
+++ b/webpack.config.lib.es5.js
@@ -7,6 +7,7 @@ const root = path.join(__dirname)
 
 module.exports = merge(common, {
   mode: 'production',
+  target: 'web',
   output: {
     path: path.resolve(root + '/dist'),
     filename: '[name]/[name].min.js',
diff --git a/webpack.config.lib.js b/webpack.config.lib.js
index <HASH>..<HASH> 100644
--- a/webpack.config.lib.js
+++ b/webpack.config.lib.js
@@ -6,6 +6,7 @@ const root = path.join(__dirname)
 
 module.exports = merge(common, {
   mode: 'development',
+  target: 'node',
   output: {
     path: path.resolve(root + '/dist'),
     filename: '[name]/index.js',
feat(build): Add SSR support for library (close #<I>)