1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-15 05:04:25 +02:00

Use Preact, rather than React (#91)

* moving to Preact to shave off 100+kb

* preact'ed
This commit is contained in:
Mike Kamermans
2017-04-02 14:32:06 -07:00
committed by GitHub
parent bcc465d26b
commit 25a18d8891
18 changed files with 122 additions and 251 deletions

View File

@@ -30,7 +30,9 @@ var webpackLoaders = [
var resolve = {
alias: {
LocalizedContent: path.resolve(__dirname, 'locales/en-GB/content.js')
LocalizedContent: path.resolve(__dirname, 'locales/en-GB/content.js'),
react: "preact-compat",
"react-dom": "preact-compat"
}
};