Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
507
stars
79
forks
source link
Change to fix webpack compile error on import #108
Closed
annelorraineuy closed 7 years ago
Change
0755
fs write mode to0o755
which is the standard way to write the permissions as an octal for node js.Reference: https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options
Additional: https://stackoverflow.com/questions/39850133/node-js-how-to-create-file-with-755-permissions-with-fs-createwritestream
Otherwise leaving this unchaged causes a Webpack compile issue.