* Fix spacing * Update webpacker gem to 3.5 * Add custom preact-compact config * Add babel-loader to resolve a weird issue * Add react-textarea-autocomplete * Move 2 dependencies into devDependencies * Add babel-eslint & eslint-plugin-babel * Refactor chat * Add fixed width to chat's channels * Add timestamp for chat * Fix long word issue * Add showTimestamp options to chat * Add profile image to chat * Make profile image in chat circle * Improve message send logic * Add proper user session handling for chat * Choose profile user image source for chat * Adjust user's text color * Fix lint
37 lines
626 B
Text
37 lines
626 B
Text
{
|
|
"presets": [
|
|
["env", {
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": "> 1%",
|
|
"uglify": true
|
|
},
|
|
"useBuiltIns": true
|
|
}],
|
|
"preact"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"transform-es2015-modules-commonjs",
|
|
["transform-react-jsx", { "pragma":"h" }],
|
|
"transform-class-properties"
|
|
]
|
|
}
|
|
},
|
|
"plugins": [
|
|
"syntax-dynamic-import",
|
|
"transform-object-rest-spread",
|
|
["transform-class-properties",
|
|
{
|
|
"spec": true
|
|
}
|
|
],
|
|
[
|
|
"transform-react-jsx",
|
|
{
|
|
"pragma": "h"
|
|
}
|
|
]
|
|
]
|
|
}
|