mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
Fix webamp.org
This commit is contained in:
parent
a98d1cc344
commit
21b445b81d
3 changed files with 2 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ script: >
|
|||
# python node_modules/travis-weigh-in/weigh_in.py built/winamp.js.gz
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
before_deploy: echo webamp.org > built/CNAME
|
||||
deploy:
|
||||
local-dir: "./built/"
|
||||
verbose: true
|
||||
|
|
|
|||
1
CNAME
1
CNAME
|
|
@ -1 +0,0 @@
|
|||
webamp.org
|
||||
|
|
@ -2,8 +2,6 @@ const webpack = require("webpack");
|
|||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||
const config = require("./webpack.config");
|
||||
|
||||
const cdnUrl = process.env.CDN_URL || "/";
|
||||
|
||||
config.devtool = "source-map";
|
||||
|
||||
config.plugins = [
|
||||
|
|
@ -23,7 +21,7 @@ config.plugins = [
|
|||
})
|
||||
];
|
||||
|
||||
config.output.publicPath = `${cdnUrl}/`;
|
||||
config.output.publicPath = `/`;
|
||||
config.output.filename = "[name]-[hash].js";
|
||||
|
||||
config.entry.winamp.unshift("./js/googleAnalytics.min.js");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue