Add ES module export

Preparation for publishing an ES module build.
Move 'modality' into 'createDOMElement' to ensure it is always initialized.
This commit is contained in:
Nicolas Gallagher
2017-04-20 17:13:22 -07:00
parent f16f5f21ce
commit d5a9f3e779
5 changed files with 105 additions and 49 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = {
],
resolve: {
alias: {
'react-native': path.join(__dirname, '../../src')
'react-native': path.join(__dirname, '../../src/module')
}
}
}