Webpack.config.js in Win 7

The above example shows typical webpack.config.js. Could someone point out when configuring Webpack.config.js in Win, do we use linux forward slashes for the path or Win backward slashes?

i.e test: [/\.js$/, /\.es6$/],