Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it's always https://localhost:4321/ #2

Open
AhmadiRamin opened this issue Sep 1, 2017 · 0 comments
Open

it's always https://localhost:4321/ #2

AhmadiRamin opened this issue Sep 1, 2017 · 0 comments

Comments

@AhmadiRamin
Copy link

AhmadiRamin commented Sep 1, 2017

Thanks for your helpful module, but it's not working for me , no matter what I enter for --target-cdn , it's always package the solution with the https://localhost:4321/ url ,

my gulp.js :
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
const rewrite = require('spfx-build-url-rewrite');
rewrite.config(build);
build.initialize(gulp);

write-manifests:

{
"cdnBasePath": "https://contoso.sharepoint.com"
}

and this is the commands I use :
gulp build --target-cdn https://.sharepoint.com
gulp bundle --target-cdn https://
.sharepoint.com
gulp package-solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant