Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added Webpack configuration to substitute Preact for React.
- Loading branch information
Showing
with
6 additions
and
0 deletions.
-
+6
−0
webpack.config.js
|
@@ -17,6 +17,12 @@ module.exports = { |
|
|
} |
|
|
}] |
|
|
}, |
|
|
resolve: { |
|
|
alias: { |
|
|
'react': 'preact-compat', |
|
|
'react-dom': 'preact-compat' |
|
|
} |
|
|
}, |
|
|
output: { |
|
|
path: path.join(__dirname, 'webpack_out'), |
|
|
filename: 'minimalistic_react.js' |
|
|