mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 03:54:46 +00:00
first stab at supporting Rollup (#130)
This commit is contained in:
@@ -105,11 +105,9 @@ function generate_client(
|
||||
|
||||
code += `
|
||||
|
||||
if (module.hot) {
|
||||
import('${sapper_dev_client}').then(client => {
|
||||
client.connect(${dev_port});
|
||||
});
|
||||
}`.replace(/^\t{3}/gm, '');
|
||||
import('${sapper_dev_client}').then(client => {
|
||||
client.connect(${dev_port});
|
||||
});`.replace(/^\t{3}/gm, '');
|
||||
}
|
||||
|
||||
return code;
|
||||
|
||||
Reference in New Issue
Block a user