Description
While I am converting my projects to use brunch, with a folder structure app > assets > index.html
Running
touches the app folder contents and overwrites existing files.
Expected behavior
Should not touch the files in the app/ folder.
Actual behavior
Tell us what actually happens.
If at all possible, please create a small demo app on GitHub that demonstrates the issue so it's easier for us to check and debug.
Environment
- Brunch: 2.6.6
- Node: v4.4.3
- NPM: 2.15.1
- Operating system: Windows 7 x64
package.json contents
{
"name": "your-app",
"description": "Description",
"author": "Your Name",
"version": "0.0.1",
"repository": {
"type": "git",
"url": ""
},
"scripts": {
"start": "brunch watch --server",
"prod": "brunch build --production"
},
"dependencies": { },
"devDependencies": {
"auto-reload-brunch": "^2.0.0",
"babel-brunch": "~6.0.0",
"babel-preset-es2015": "~6.3.13",
"brunch": "^2.4.0",
"clean-css-brunch": "^2.0.0",
"css-brunch": "^2.0.0",
"javascript-brunch": "^2.0.0",
"uglify-js-brunch": "^2.0.0"
}
}
brunch config contents
module.exports = {
files: {
javascripts: {
joinTo: {
'vendor.js': /^(?!app)/,
'app.js': /^app/
}
},
stylesheets: {joinTo: 'app.css'}
},
plugins: {
babel: {presets: ['es2015']}
}
};