-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
facebook: fix build of static site, remove path which we don't have yet
- Loading branch information
1 parent
9ba5d6d
commit 433ffae
Showing
6 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<title>Cyd Archive: Facebook</title> | ||
|
||
</head> | ||
|
||
<body> | ||
<noscript> | ||
<strong>This page doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<script src="assets/archive.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const { defineConfig } = require('@vue/cli-service'); | ||
|
||
module.exports = defineConfig({ | ||
publicPath: './', | ||
configureWebpack: { | ||
output: { | ||
filename: 'assets/js/[name].[fullhash:8].js', | ||
chunkFilename: 'assets/js/[name].[fullhash:8].js', | ||
}, | ||
}, | ||
chainWebpack: config => { | ||
if (config.plugins.has('extract-css')) { | ||
config.plugin('extract-css').tap(args => { | ||
args[0].filename = 'assets/css/[name].[fullhash:8].css'; | ||
args[0].chunkFilename = 'assets/css/[name].[fullhash:8].css'; | ||
return args; | ||
}); | ||
} | ||
}, | ||
assetsDir: 'assets', | ||
}); |