Fix webamp.org

This commit is contained in:
Jordan Eldredge 2018-03-14 20:52:53 -07:00
parent a98d1cc344
commit 21b445b81d
3 changed files with 2 additions and 4 deletions

View file

@ -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
View file

@ -1 +0,0 @@
webamp.org

View file

@ -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");