1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

Change webpack to only copy the html files to popup/app. Update readme with more instructions for building. (#336)

This commit is contained in:
Oscar Hinton
2017-10-29 13:58:50 +01:00
committed by Kyle Spearrin
parent 5439a2b33e
commit 77f9270131
3 changed files with 23 additions and 8 deletions

View File

@@ -73,7 +73,11 @@ module.exports = {
new CopyWebpackPlugin([
// Temporarily copy the whole app folder, can be removed once
// the templates uses template rather than using templateUrl.
{ from: './src/popup/app', to: 'popup/app' },
{
context: 'src/popup/app',
from: '**/*.html',
to: 'popup/app'
},
'./src/manifest.json',
{ from: './src/_locales', to: '_locales' },
{ from: './src/edge', to: 'edge' },