diff --git a/docs/jsx.md b/docs/jsx.md index b10d86eb..0b8cd7f9 100644 --- a/docs/jsx.md +++ b/docs/jsx.md @@ -112,10 +112,12 @@ Create a `.babelrc` file: Next, create a file called `webpack.config.js` ```javascript +const path = require('path') + module.exports = { entry: './src/index.js', output: { - path: './bin', + path: path.resolve(__dirname, './bin'), filename: 'app.js', }, module: {